コレクション内にある指定した名前の DatabaseReplicaState オブジェクトを削除します。
名前空間: 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
レプリカの名前。
- name
型: System.String
DatabaseReplicaStateCollection コレクション内の DatabaseReplicaState オブジェクトの名前を示す値です。