Click or drag to resize

Manager Class

Provides methods to manage LocalDB instances.
Inheritance Hierarchy
SystemObject
  usis.Data.LocalDbManager

Namespace:  usis.Data.LocalDb
Assembly:  usis.Data.LocalDb (in usis.Data.LocalDb.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public sealed class Manager : IDisposable

The Manager type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreate
Creates a new instance of the Manager class.
Public methodCreateInstance
Creates a new SQL Server Express LocalDB instance.
Public methodDeleteInstance
Removes the specified SQL Server Express LocalDB instance.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInstanceInfo
Gets information for the specified SQL Server Express LocalDB instance, such as whether it exists, the LocalDB version it uses, whether it is running, and so on.
Public methodGetInstances
Gets the names of both named and default LocalDB instances on the user’s workstation.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVersionInfo
Gets information for the specified SQL Server Express LocalDB version, such as whether it exists and the full LocalDB version number (including build and release numbers).
Public methodGetVersions
Returns all SQL Server Express LocalDB versions available on the computer.
Public methodStatic memberIsInstalled
Determines whether SQL Server Express LocalDB is installed on the computer.
Public methodShareInstance
Shares the specified SQL Server Express LocalDB instance with other users of the computer, using the specified shared name.
Public methodStartInstance
Starts the specified SQL Server Express LocalDB instance.
Public methodStartTracing
Enables tracing of API calls for all the SQL Server Express LocalDB instances owned by the current Windows user.
Public methodStopInstance
Stops the specified SQL Server Express LocalDB instance from running.
Public methodStopTracing
Disables tracing of API calls for all the SQL Server Express LocalDB instances owned by the current Windows user.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnshareInstance
Stops the sharing of the specified SQL Server Express LocalDB instance.
Top
Extension Methods
  NameDescription
Public Extension MethodCreateInstance
Creates a new SQL Server Express LocalDB instance with the highest istalled version.
(Defined by Extensions.)
Public Extension MethodEnumerateInstances
Gets the informations about both named and default LocalDB instances on the user’s workstation.
(Defined by Extensions.)
Public Extension MethodEnumerateVersions
Returns all SQL Server Express LocalDB versions available on the computer.
(Defined by Extensions.)
Public Extension MethodStopInstance(String)Overloaded.
Stops the specified SQL Server Express LocalDB instance from running.
(Defined by Extensions.)
Public Extension MethodStopInstance(String, Int32)Overloaded.
Stops the specified SQL Server Express LocalDB instance from running.
(Defined by Extensions.)
Top
See Also