AvailabilityReplicaCollection.Add 方法
Adds the availability replica in the server.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Add ( _
availabilityReplica As AvailabilityReplica _
)
用法
Dim instance As AvailabilityReplicaCollection
Dim availabilityReplica As AvailabilityReplica
instance.Add(availabilityReplica)
public void Add(
AvailabilityReplica availabilityReplica
)
public:
void Add(
AvailabilityReplica^ availabilityReplica
)
member Add :
availabilityReplica:AvailabilityReplica -> unit
public function Add(
availabilityReplica : AvailabilityReplica
)
参数
- availabilityReplica
类型:Microsoft.SqlServer.Management.Smo.AvailabilityReplica
The availability replica.