SPDatabase.FailoverServiceInstance property

Gets or sets the SPDatabaseServiceInstance object that represents the instance of the database service that is hosting the mirror of the database.

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

Syntax

'Declaration
Public Property FailoverServiceInstance As SPDatabaseServiceInstance
    Get
    Set
'Usage
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
The database service instance for the database mirror.

See also

Reference

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace