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)
Available in Sandboxed Solutions: No

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