ServerGroup.ServerType 属性

Gets the Guid object value that specifies the type of server associated with the server group.

命名空间:  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
A Guid system object value that specifies the type of server associated with the server group.

请参阅

参考

ServerGroup 类

Microsoft.SqlServer.Management.Smo.RegisteredServers 命名空间

其他资源

管理已注册的服务器

sp_ActiveDirectory_SCP (Transact-SQL)