IsClustered 屬性
Gets the Boolean value that determines whether the computer is in a cluster.
命名空間: 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
A Boolean value that specifies whether the computer is in a cluster. If True, the computer is in a cluster. Otherwise, False.
範例
VC#
System.Console.WriteLine(computer.IsClustered);
VB
System.Console.WriteLine(computer.IsClustered)
PowerShell
Write-Host $computer.IsClustered