次の方法で共有


ServerGroup.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 システム オブジェクトの値です。

関連項目

参照

ServerGroup クラス

Microsoft.SqlServer.Management.Smo.RegisteredServers 名前空間

その他の技術情報

登録済みサーバーの管理

sp_ActiveDirectory_SCP (Transact-SQL)