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
- newPrimary
Type: System.String
- newSyncReplicas
Type: System.String