Skip to main content

MSSqlLocalDBApi.GetInstances() Method

Returns the names of all SQL Server Express LocalDB instances.

Namespace: DevExpress.Xpo.DB.Helpers

Assembly: DevExpress.Xpo.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public string[] GetInstances()

Returns

Type Description
String[]

A string array that contains the names of both named and default LocalDB instances on the user’s workstation.

Remarks

Calls the LocalDBGetInstances function internally.

See Also