ServerType 属性

获取 Guid 对象值,该值指定与服务器组关联的服务器类型。

命名空间:  Microsoft.SqlServer.Management.Smo.RegisteredServers
程序集:  Microsoft.SqlServer.SmoExtended(在 Microsoft.SqlServer.SmoExtended.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property ServerType As Guid
    Get
用法
Dim instance As ServerGroup
Dim value As Guid

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

属性值

类型:System. . :: . .Guid
一个 Guid 系统对象值,该值指定与服务器组关联的服务器类型。