共用方式為


ServerConnection 屬性

Gets a connection to an instance of the Database Engine.

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
<SfcIgnoreAttribute> _
Public ReadOnly Property ServerConnection As ServerConnection
    Get
'用途
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

屬性值

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

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。