Share via


IAlienRoot.ConnectionContext Property

Gets the current server connection details for the instance of SQL Server. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
ReadOnly Property ConnectionContext As ServerConnection
    Get
'Usage
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

Property Value

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