Click or drag to resize

ManagerStopInstance Method

Stops the specified SQL Server Express LocalDB instance from running.

Namespace:  usis.Data.LocalDb
Assembly:  usis.Data.LocalDb (in usis.Data.LocalDb.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void StopInstance(
	string instanceName,
	StopInstanceOptions options,
	TimeSpan timeout
)

Parameters

instanceName
Type: SystemString
The name of the LocalDB instance to stop.
options
Type: usis.Data.LocalDbStopInstanceOptions
One or a combination of the option values specifying the way to stop the instance.
timeout
Type: SystemTimeSpan
The time to wait for this operation to complete. If this value is 0, this function will return immediately without waiting for the LocalDB instance to stop.
See Also