共用方式為


ServerType 屬性

Gets or the type of server that is associated with the server group.

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

語法

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

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

屬性值

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

備註

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