Microsoft.SqlServer Namespace

The Microsoft.SqlServer namespace contains classes designed to support SQL Server components.

Classes

INST_ID

Represents the identifier of an instance.

InstAPI

Contains methods that are used to resolve friendly names with unique instance IDs.

InstAPIException

An exception that is thrown when the server failed to resolve friendly names with unique instance IDs.

SharedBins

Enums

SQL_SVCS

Delegates

DelegateGetCOMPath

Gets whether the COM path is showed successfully.

DelegateGetInstanceIDFromFTSApp

Represents whether the instance identifier is from the full text service.

DelegateGetInstanceIDFromService

Represents the instance identifier from a buffer to receive the service name.

DelegateGetInstanceNameFromFTSApp

Represents whether the object is installed instance from the full text service.

DelegateGetInstanceNameFromID

Gets a value that indicates whether the installed instance name from the instance identifier represents an installed SQL Component.

DelegateGetInstanceNameFromService

Gets a value whether the delegate is successful in getting the instance name from the service.

DelegateGetInstancePipeByID

Gets whether the instance pipe is arranged by an instance identifier.

DelegateGetInstancePipeByName

Gets a value whether the instance pipe is installed by instance name.

DelegateGetInstRegPathByID

Gets the registry subtree by an instance identifier that represents an installed SQL component.

DelegateGetInstRegPathByName

Gets a value whether the registry subtree installed from an instance name.

DelegateGetInstRootDirPathByID

Gets the root directory path by an instance identifier that represents an installed SQL component.

DelegateGetInstRootRegPathByID

Gets the registry subtree from an instance identifier that represents an installed SQL component.

DelegateGetRegKeyAccessMask

Gets the registry subtree to read from the access mask to use in calls to registry key.

DelegateGetSQLBinPathByInstID

Represents an SQL binary path by an instance identifier.

DelegateGetSQLDataRootByInstID

Gets the SQL data root by instance identifier.

DelegateGetSQLDataRootByInstName

Gets the SQL data root by the instance name.

DelegateGetSQLInstanceRegStringByID

Gets a value whether the SQL instance registry string is registered by ID.

DelegateGetSQLReplicationRegPath

Gets the SQL replication registry path.

DelegateGetSQLRootRegPath

Gets the SQL root registry path

DelegateGetSQLServerByID

Gets the SQL server by instance identifier.

DelegateGetSQLServerByName

Gets a value whether the SQL Server is set ny instance name.

DelegateGetSQLServiceByID

Represents whether the SQL Services is sorted by specified ID.

DelegateGetSQLServiceByName

Represents the SQL service by instance name.

DelegateGetSQLToolsDirPath

Defines the SQL server tools for the directory path.

DelegateGetSQLToolsRegPath

Represents whether the tools is registered for the SQL server.

DelegateGetSQLVerSpecificRegString

Represents the specific registry string value for SQL server.

DelegateGetSvcBinPathByID

Represents whether the program file root directory is set by the given service type and instance ID.

DelegateGetSvcBinPathByInstName

Represents the program file root directory for the SQL Server service by the given friendly instance name.

DelegateGetSvcBinPathByName

Represents the program file root directory for a specific service by the given service type and the friendly instance name.

DelegateGetSvcInstanceIDFromName

Represents a value whether the instance ID of an instance is from the given friendly name.

DelegateGetSvcInstanceRegStringByName

Represents a value whether the registry string from an instance specific registry tree is given by friendly instance name.

DelegateGetSvcInstRootDirPathByName

Represents the directory path root for a specific SQL instance by the given friendly instance name.

DelegateGetSvcInstRootRegPathByName

Represents whether the registry path root for a specific SQL instance is set by the given friendly instance name.

DelegateGetVerSpecificRootDirPath

Gets whether the specific root directory path is successful.

DelegateGetVerSpecificRootRegPath

Gets the version of the specific root registration path of the sql server.

DelegateIsDefaultInstanceID

Represents a value that indicates a default instance ID.

DelegateIsDefaultInstanceName

Represents a value that indicates the default instance name.

DelegateIsNameAgentService

Represents whether a string is a valid SQL Agent service name.

DelegateIsNameSQLService

Represents a value whether the service name is a SQL service.