次の方法で共有


Server.ClusterName プロパティ

クラスターの名前を取得します。

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

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ClusterName As String 
    Get
'使用
Dim instance As Server 
Dim value As String 

value = instance.ClusterName
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string ClusterName { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ ClusterName {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member ClusterName : string
function get ClusterName () : String

プロパティ値

型: System.String
クラスターの名前です。

関連項目

参照

Server クラス

Microsoft.SqlServer.Management.Smo 名前空間