Méthode DatabaseReplicaStateCollection.Remove (String, String)
Removes a DatabaseReplicaState object in the collection by name.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Remove ( _
replicaName As String, _
name As String _
)
'Utilisation
Dim instance As DatabaseReplicaStateCollection
Dim replicaName As String
Dim name As String
instance.Remove(replicaName, name)
public void Remove(
string replicaName,
string name
)
public:
void Remove(
String^ replicaName,
String^ name
)
member Remove :
replicaName:string *
name:string -> unit
public function Remove(
replicaName : String,
name : String
)
Paramètres
- 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.