MSSqlLocalDBApi.StopInstance(String, MSSqlLocalDBShutdownFlags, Int64) Method
Stops the specified SQL Server Express LocalDB instance from running.
Namespace: DevExpress.Xpo.DB.Helpers
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
instanceName | String | The string name of the LocalDB instance to be stopped. |
shutdownFlags | DevExpress.Xpo.DB.Helpers.MSSqlLocalDBShutdownFlags | An MSSqlLocalDBShutdownFlags enumeration value that specifies the way to stop the instance. |
timeout | Int64 | An integer number that is the number of seconds to wait for the stop operation to complete. If set to 0, the method returns immediately without waiting for the LocalDB instance to stop. |
Remarks
Calls the LocalDBStopInstance function internally.