Share via


SqlStoreConnection.ServerConnection Property

Gets the Server Connection for the SqlStoreConnection. 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
Public ReadOnly Property ServerConnection As ServerConnection
    Get
'Usage
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

Property Value

Type: Microsoft.SqlServer.Management.Common.ServerConnection
A ServerConnection value representing the connection to the server.