共用方式為


SPDatabase.FailoverServer property

取得SPServer物件,代表主控資料庫的鏡像伺服器。

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

Syntax

'宣告
Public ReadOnly Property FailoverServer As SPServer
    Get
'用途
Dim instance As SPDatabase
Dim value As SPServer

value = instance.FailoverServer
public SPServer FailoverServer { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPServer
此鏡像的資料庫所在之伺服器。

備註

您可以設定這個屬性只能間接由呼叫AddFailoverServiceInstance(String)

請參閱

參照

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace