Méthode AvailabilityDatabaseCollection.CopyTo
Retrieves a copy of the availability database to the specified index.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub CopyTo ( _
array As AvailabilityDatabase(), _
index As Integer _
)
'Utilisation
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
)
Paramètres
- array
Type : array<Microsoft.SqlServer.Management.Smo.AvailabilityDatabase[]
An array of availability database.
- index
Type : System.Int32
The index.