次の方法で共有


ServerGroup.Description プロパティ

参照先登録済みサーバー グループの説明テキストを取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Management.Smo.RegisteredServers
アセンブリ:  Microsoft.SqlServer.SmoExtended (Microsoft.SqlServer.SmoExtended.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property Description As String 
    Get 
    Set
'使用
Dim instance As ServerGroup 
Dim value As String 

value = instance.Description

instance.Description = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public string Description { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property String^ Description {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member Description : string with get, set
function get Description () : String 
function set Description (value : String)

プロパティ値

型: System.String
サーバー グループの説明テキストを表す String 値です。

関連項目

参照

ServerGroup クラス

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

その他の技術情報

登録済みサーバーの管理

sp_ActiveDirectory_SCP (Transact-SQL)