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: String
The name of the replica.
name
Type: String
A value that specifies the name of the DatabaseReplicaState object in the DatabaseReplicaStateCollection collection.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft