AvailabilityGroupListenerCollection.Add 方法
Adds an AvailabilityGroupListener object to the availability group listener collection.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Add ( _
AvailabilityGroupListener As AvailabilityGroupListener _
)
用法
Dim instance As AvailabilityGroupListenerCollection
Dim AvailabilityGroupListener As AvailabilityGroupListener
instance.Add(AvailabilityGroupListener)
public void Add(
AvailabilityGroupListener AvailabilityGroupListener
)
public:
void Add(
AvailabilityGroupListener^ AvailabilityGroupListener
)
member Add :
AvailabilityGroupListener:AvailabilityGroupListener -> unit
public function Add(
AvailabilityGroupListener : AvailabilityGroupListener
)
参数
- AvailabilityGroupListener
类型:Microsoft.SqlServer.Management.Smo.AvailabilityGroupListener
The availability group listener to add.