Share via


SPAvailabilityGroup.ForceFailover method (String, StringCollection)

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

Syntax

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

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

Parameters

See also

Reference

SPAvailabilityGroup class

SPAvailabilityGroup members

ForceFailover overload

Microsoft.SharePoint.Administration namespace