共用方式為


ServerType 屬性

Gets or the kind of server that is associated with the registered server.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public ReadOnly Property ServerType As ServerType
    Get
'用途
Dim instance As RegisteredServer
Dim value As ServerType

value = instance.ServerType
[SfcPropertyAttribute(SfcPropertyFlags.None)]
public ServerType ServerType { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None)]
public:
property ServerType ServerType {
    ServerType get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None)>]
member ServerType : ServerType
function get ServerType () : ServerType

屬性值

型別:Microsoft.SqlServer.Management.Common. . :: . .ServerType
A ServerType value that specifies the kind of server that is associated with the registered server.

備註

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