다음을 통해 공유


SqlStoreConnection 클래스

Represents a connection to an instance of SQL Server. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcConnection
    Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection

네임스페이스:  Microsoft.SqlServer.Management.Sdk.Sfc
어셈블리:  Microsoft.SqlServer.Management.Sdk.Sfc(Microsoft.SqlServer.Management.Sdk.Sfc.dll)

구문

‘선언
Public Class SqlStoreConnection _
    Inherits SfcConnection
‘사용 방법
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

SqlStoreConnection 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 SqlStoreConnection Initializes a new instance of the SqlStoreConnection class with the specified SQL connection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.

맨 위로 이동

속성

  이름 설명
공용 속성 ConnectionType Gets a value indicating whether the database server is part of a multi-server administration matrix. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcConnection.ConnectionType을(를) 재정의함)
공용 속성 ConnectTimeout Gets or sets the timeout interval, in seconds. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcConnection.ConnectTimeout을(를) 재정의함)
공용 속성 IsForceDisconnected Gets a value indicating whether the connection has been forcibly disconnected. (SfcConnection에서 상속됨)
공용 속성 IsOpen Gets a value indicating whether the connection is currently open. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcConnection.IsOpen을(를) 재정의함)
공용 속성 ServerConnection Gets the Server Connection for the SqlStoreConnection. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.
공용 속성 ServerInstance Gets or sets the name of the server. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcConnection.ServerInstance을(를) 재정의함)
공용 속성 ServerVersion Gets the version number of the connected server. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcConnection.ServerVersion을(를) 재정의함)
공용 속성 StatementTimeout Gets or sets the number of seconds a statement is given to run before failing with a time-out error. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcConnection.StatementTimeout을(를) 재정의함)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Connect Attempts to connect to the server. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcConnection.Connect()을(를) 재정의함)
공용 메서드 Copy Returns a copy of the server connection object. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcConnection.Copy()을(를) 재정의함)
공용 메서드 Disconnect Attempts to disconnect from the server. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcConnection.Disconnect()을(를) 재정의함)
공용 메서드 Equals(Object) (Object에서 상속됨)
공용 메서드 Equals(SfcConnection) Determines whether the specified server connection is equal to the current SqlStoreConnection object. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcConnection.Equals(SfcConnection)을(를) 재정의함)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 ForceDisconnected Enforces a server disconnect and ensures that connection cannot be re-opened again. (SfcConnection에서 상속됨)
공용 메서드 GetHashCode Returns the hash code for this instance. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다. (SfcConnection.GetHashCode()을(를) 재정의함)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToEnumeratorObject Returns an enumerator object. (SfcConnection.ToEnumeratorObject()을(를) 재정의함)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Management.Sdk.Sfc 네임스페이스