TechNet
Export (0) Print
Expand All

DatabaseReplicaStateCollection.Remove Method (String, String)

 

Removes a DatabaseReplicaState object in the collection by name.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Remove(
	string replicaName,
	string name
)

Parameters

replicaName
Type: System.String

The name of the replica.

name
Type: System.String

A value that specifies the name of the DatabaseReplicaState object in the DatabaseReplicaStateCollection collection.

Return to top
Show:
© 2016 Microsoft