DatabaseReplicaStateCollection.Remove 方法 (String, String)
Removes a DatabaseReplicaState object in the collection by name.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub Remove ( _
replicaName As String, _
name As String _
)
'用途
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
)
參數
- replicaName
型別:System.String
The name of the replica.
- name
型別:System.String
A value that specifies the name of the DatabaseReplicaState object in the DatabaseReplicaStateCollection collection.