Właściwość IAlienRoot.ConnectionContext
Pobiera bieżący serwer szczegóły połączenia dla wystąpienie programu SQL Server.Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.
Przestrzeń nazw: Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw: Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Składnia
'Deklaracja
ReadOnly Property ConnectionContext As ServerConnection
Get
'Użycie
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
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Common.ServerConnection
A ServerConnection obiekt, który zawiera szczegóły połączenia serwera.