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