Właściwość SqlStoreConnection.ServerConnection
Uzyskuje połączenie z serwerem dla SqlStoreConnection.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
Public ReadOnly Property ServerConnection As ServerConnection
Get
'Użycie
Dim instance As SqlStoreConnection
Dim value As ServerConnection
value = instance.ServerConnection
public ServerConnection ServerConnection { get; }
public:
property ServerConnection^ ServerConnection {
ServerConnection^ get ();
}
member ServerConnection : ServerConnection
function get ServerConnection () : ServerConnection
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Common.ServerConnection
A ServerConnection wartość reprezentującą połączenie do serwera.
Zobacz także