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)

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