Server.ClusterName Property
Gets the name of the cluster.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ClusterName As String
Get
'Usage
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
Property Value
Type: System.String
The name of the cluster.