Delen via


RegisteredServersStore.ServerConnection Property

Gets a connection to an instance of the Database Engine.

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
<SfcIgnoreAttribute> _
Public ReadOnly Property ServerConnection As ServerConnection 
    Get
'Usage
Dim instance As RegisteredServersStore 
Dim value As ServerConnection 

value = instance.ServerConnection
[SfcIgnoreAttribute]
public ServerConnection ServerConnection { get; }
[SfcIgnoreAttribute]
public:
property ServerConnection^ ServerConnection {
    ServerConnection^ get ();
}
[<SfcIgnoreAttribute>]
member ServerConnection : ServerConnection
function get ServerConnection () : ServerConnection

Property Value

Type: Microsoft.SqlServer.Management.Common.ServerConnection
A ServerConnection value that specifies the server connection.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

RegisteredServersStore Class

Microsoft.SqlServer.Management.RegisteredServers Namespace