共用方式為


SPDatabase.FailoverServiceInstance property

取得或設定代表裝載的資料庫鏡像的資料庫服務執行個體的SPDatabaseServiceInstance物件。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property FailoverServiceInstance As SPDatabaseServiceInstance
    Get
    Set
'用途
Dim instance As SPDatabase
Dim value As SPDatabaseServiceInstance

value = instance.FailoverServiceInstance

instance.FailoverServiceInstance = value
public SPDatabaseServiceInstance FailoverServiceInstance { get; set; }

Property value

Type: Microsoft.SharePoint.Administration.SPDatabaseServiceInstance
資料庫鏡像的資料庫服務執行個體。

請參閱

參照

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace