다음을 통해 공유


ConnectionContext 속성

Gets the current server connection details for the instance of SQL Server. 코드에서 직접 이 멤버를 참조하면 안 됩니다. 이 방법은 SQL Server 인프라를 지원합니다.

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

구문

‘선언
ReadOnly Property ConnectionContext As ServerConnection
    Get
‘사용 방법
Dim instance As IAlienRoot
Dim value As ServerConnection

value = instance.ConnectionContext
ServerConnection ConnectionContext { get; }
property ServerConnection^ ConnectionContext {
    ServerConnection^ get ();
}
abstract ConnectionContext : ServerConnection
function get ConnectionContext () : ServerConnection

속성 값

유형: Microsoft.SqlServer.Management.Common. . :: . .ServerConnection
A ServerConnection object that contains the server connection details.