SPAvailabilityGroup.ForceFailover method (String, String)

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

Syntax

'Declaration
Public Sub ForceFailover ( _
    newPrimary As String, _
    newSyncReplicas As String _
)
'Usage
Dim instance As SPAvailabilityGroup
Dim newPrimary As String
Dim newSyncReplicas As String

instance.ForceFailover(newPrimary, newSyncReplicas)
public void ForceFailover(
    string newPrimary,
    string newSyncReplicas
)

Parameters

See also

Reference

SPAvailabilityGroup class

SPAvailabilityGroup members

ForceFailover overload

Microsoft.SharePoint.Administration namespace