Skip to main content

MSSqlLocalDBApi.CreateInstance(String, String) Method

Creates a new SQL Server Express LocalDB instance.

Namespace: DevExpress.Xpo.DB.Helpers

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

public void CreateInstance(
    string versionName,
    string instanceName
)

Parameters

Name Type Description
versionName String

The LocalDB version, for example 11.0 or 11.0.1094.2.

instanceName String

The name for the LocalDB instance to create.

Remarks

Calls the LocalDBCreateInstance function internally.

See Also