Metodo DatabaseReplicaStateCollection.Remove (String, String)
Removes a DatabaseReplicaState object in the collection by name.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub Remove ( _
replicaName As String, _
name As String _
)
'Utilizzo
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
)
Parametri
- replicaName
Tipo: System.String
The name of the replica.
- name
Tipo: System.String
A value that specifies the name of the DatabaseReplicaState object in the DatabaseReplicaStateCollection collection.