AvailabilityDatabaseCollection.CopyTo 方法
Retrieves a copy of the availability database to the specified index.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub CopyTo ( _
array As AvailabilityDatabase(), _
index As Integer _
)
用法
Dim instance As AvailabilityDatabaseCollection
Dim array As AvailabilityDatabase()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
AvailabilityDatabase[] array,
int index
)
public:
void CopyTo(
array<AvailabilityDatabase^>^ array,
int index
)
member CopyTo :
array:AvailabilityDatabase[] *
index:int -> unit
public function CopyTo(
array : AvailabilityDatabase[],
index : int
)
参数
- array
类型:array<Microsoft.SqlServer.Management.Smo.AvailabilityDatabase[]
An array of availability database.
- index
类型:System.Int32
The index.