Microsoft.SqlServer Namespace
The Microsoft.SqlServer namespace contains classes designed to support SQL Server components.
| Class | Description | |
|---|---|---|
|
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. |
| Delegate | Description | |
|---|---|---|
|
DelegateGetCOMPath | Gets the COM path for the SQL Server. |
|
DelegateGetInstanceIDFromFTSApp | Represents the instance identifier from full text service. |
|
DelegateGetInstanceIDFromService | Represents the instance identifier from a buffer to receive the service name. |
|
DelegateGetInstanceNameFromFTSApp | Represents the installed instance from the full text service. |
|
DelegateGetInstanceNameFromID | Gets the installed instance name from the instance identifier that represents an installed SQL Component. |
|
DelegateGetInstanceNameFromService | Gets the instance name from the service. |
|
DelegateGetInstancePipeByID | Gets the instance pipe by an instance identifier that represents an installed SQL component. |
|
DelegateGetInstancePipeByName | Gets the instance pipe by an installed instance name. |
|
DelegateGetInstRegPathByID | Gets the registry subtree by an instance identifier that represents an installed SQL component. |
|
DelegateGetInstRegPathByName | Gets the registry subtree from an installed 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 the SQL instance registry string by identifier. |
|
DelegateGetSQLReplicationRegPath | Gets the SQL replication registry path. |
|
DelegateGetSQLRootRegPath | Gets the SQL root registry path |
|
DelegateGetSQLServerByID | Gets the SQL server by instance identifier. |
|
DelegateGetSQLServerByName | Gets the SQL server by instance name. |
|
DelegateGetSQLServiceByID | Represents a Boolean expression to sort SQL Service by specified ID. |
|
DelegateGetSQLServiceByName | Represents the SQL service by instance name. |
|
DelegateGetSQLToolsDirPath | Defines the SQL server tools for the directory path. |
|
DelegateGetSQLToolsRegPath | Represents the registry tools for the SQL server. |
|
DelegateGetSQLVerSpecificRegString | Represents the specific registry string value for SQL server. |
|
DelegateGetSvcBinPathByID | Represents the program file root directory for a specific service by the given service type and the 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 the instance ID of an instance from the given friendly name. |
|
DelegateGetSvcInstanceRegStringByName | Represents a registry string from an instance specific registry tree by the given friendly instance name. |
|
DelegateGetSvcInstRootDirPathByName | Represents the directory path root for a specific SQL instance by the given friendly instance name. |
|
DelegateGetSvcInstRootRegPathByName | Represents the registry path root for a specific SQL instance by the given friendly instance name. |
|
DelegateGetVerSpecificRootDirPath | Gets the version of the specific root directory path of the sql server. |
|
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 the service name is a SQL service. |