Share via


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

Syntax

'Declaration
Public ReadOnly Property FailoverServer As SPServer
    Get
'Usage
Dim instance As SPDatabase
Dim value As SPServer

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

Property Value

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

Remarks

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

See Also

Reference

SPDatabase Class

SPDatabase Members

Microsoft.SharePoint.Administration Namespace