共用方式為


AvailabilityReplicaCollection.Remove 方法 (AvailabilityReplica)

Removes the first occurrence of an object replica from the Arraylist.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Remove ( _
    availabilityReplica As AvailabilityReplica _
)
'用途
Dim instance As AvailabilityReplicaCollection 
Dim availabilityReplica As AvailabilityReplica

instance.Remove(availabilityReplica)
public void Remove(
    AvailabilityReplica availabilityReplica
)
public:
void Remove(
    AvailabilityReplica^ availabilityReplica
)
member Remove : 
        availabilityReplica:AvailabilityReplica -> unit
public function Remove(
    availabilityReplica : AvailabilityReplica
)

參數

請參閱

參考

AvailabilityReplicaCollection 類別

Remove 多載

Microsoft.SqlServer.Management.Smo 命名空間