共用方式為


Information.IsClustered 屬性

Gets the Boolean value that specifies whether the instance of SQL Server is a clustered server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsClustered As Boolean 
    Get
'用途
Dim instance As Information 
Dim value As Boolean 

value = instance.IsClustered
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsClustered { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsClustered {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsClustered : bool
function get IsClustered () : boolean

屬性值

型別:System.Boolean
A Boolean value that specifies whether the instance of SQL Server is running on a clustered server. If True, the server is clustered. Otherwise, False (default).

備註

The IsClustered property is a Boolean value that specifies whether the instance of SQL Server is a clustered server, by using Windows Clustering, for example.

範例

在 SMO 中設定 SQL Server

請參閱

參考

Information 類別

Microsoft.SqlServer.Management.Smo 命名空間