Skip to main content

MSSqlLocalDBApi.GetInstanceInfo(String) Method

Returns information for the specified SQL Server Express LocalDB instance.

Namespace: DevExpress.Xpo.DB.Helpers

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public MSSqlLocalDBInstanceInfo GetInstanceInfo(
    string instanceName
)

Parameters

Name Type Description
instanceName String

A string that is the instance name.

Returns

Type Description
DevExpress.Xpo.DB.Helpers.MSSqlLocalDBInstanceInfo

An MSSqlLocalDBInstanceInfo object that contains information on the specified LocalDB instance, e.g., whether it exists, the LocalDB version it uses, whether it is running, etc.

Remarks

Calls the LocalDBGetInstanceInfo function internally.

See Also