Condividi tramite


Proprietà IsClustered

Gets the Boolean value that determines whether the computer is in a cluster.

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
Public ReadOnly Property IsClustered As Boolean
    Get
'Utilizzo
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

Valore proprietà

Tipo: System. . :: . .Boolean
A Boolean value that specifies whether the computer is in a cluster. If True, the computer is in a cluster. Otherwise, False.

Esempi

VC#

System.Console.WriteLine(computer.IsClustered);

VB

System.Console.WriteLine(computer.IsClustered)

PowerShell

Write-Host $computer.IsClustered