Computer.IsClustered プロパティ
コンピューターがクラスター内にあるかどうかを示す Boolean 値を取得します。
名前空間: Microsoft.SqlServer.Management.Utility
アセンブリ: Microsoft.SqlServer.Management.Utility (Microsoft.SqlServer.Management.Utility.dll)
構文
'宣言
<SfcPropertyAttribute> _
Public ReadOnly Property IsClustered As Boolean
Get
'使用
Dim instance As Computer
Dim value As Boolean
value = instance.IsClustered
[SfcPropertyAttribute]
public bool IsClustered { get; }
[SfcPropertyAttribute]
public:
property bool IsClustered {
bool get ();
}
[<SfcPropertyAttribute>]
member IsClustered : bool
function get IsClustered () : boolean
プロパティ値
型: System.Boolean
コンピューターがクラスター内にあるかどうかを示す Boolean 値です。True の場合は、コンピューターがクラスター内にあることを意味します。それ以外の場合は、False になります。
使用例
VC#
System.Console.WriteLine(computer.IsClustered);
VB
System.Console.WriteLine(computer.IsClustered)
PowerShell
Write-Host $computer.IsClustered