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.