SPDatabase.FailoverServer Property

Gets the SPServer object that represents the server that is hosting the mirror of the database.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public SPServer FailoverServer { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPServer
The server on which this mirrored database exists.

You can set this property only indirectly by calling AddFailoverServiceInstance(String).