SqlStoreConnection Class
Represents a connection to an instance of SQL Server. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcConnection
Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Class SqlStoreConnection _
Inherits SfcConnection
'Usage
Dim instance As SqlStoreConnection
public class SqlStoreConnection : SfcConnection
public ref class SqlStoreConnection : public SfcConnection
type SqlStoreConnection =
class
inherit SfcConnection
end
public class SqlStoreConnection extends SfcConnection
The SqlStoreConnection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SqlStoreConnection | Initializes a new instance of the SqlStoreConnection class with the specified SQL connection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. |
Top
Properties
Name | Description | |
---|---|---|
ConnectionType | Gets a value indicating whether the database server is part of a multi-server administration matrix. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcConnection.ConnectionType.) | |
ConnectTimeout | Gets or sets the timeout interval, in seconds. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcConnection.ConnectTimeout.) | |
IsForceDisconnected | Gets a value indicating whether the connection has been forcibly disconnected. (Inherited from SfcConnection.) | |
IsOpen | Gets a value indicating whether the connection is currently open. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcConnection.IsOpen.) | |
ServerConnection | Gets the Server Connection for the SqlStoreConnection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
ServerInstance | Gets or sets the name of the server. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcConnection.ServerInstance.) | |
ServerVersion | Gets the version number of the connected server. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcConnection.ServerVersion.) | |
StatementTimeout | Gets or sets the number of seconds a statement is given to run before failing with a time-out error. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcConnection.StatementTimeout.) |
Top
Methods
Name | Description | |
---|---|---|
Connect | Attempts to connect to the server. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcConnection.Connect().) | |
Copy | Returns a copy of the server connection object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcConnection.Copy().) | |
Disconnect | Attempts to disconnect from the server. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcConnection.Disconnect().) | |
Equals(Object) | (Inherited from Object.) | |
Equals(SfcConnection) | Determines whether the specified server connection is equal to the current SqlStoreConnection object. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcConnection.Equals(SfcConnection).) | |
Finalize | (Inherited from Object.) | |
ForceDisconnected | Enforces a server disconnect and ensures that connection cannot be re-opened again. (Inherited from SfcConnection.) | |
GetHashCode | Returns the hash code for this instance. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Overrides SfcConnection.GetHashCode().) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToEnumeratorObject | Returns an enumerator object. (Overrides SfcConnection.ToEnumeratorObject().) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.