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