Méthode AvailabilityGroupListenerIPAddressCollection.CopyTo
Copies the collection objects to a one-dimensional array beginning at the index value specified.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub CopyTo ( _
array As AvailabilityGroupListenerIPAddress(), _
index As Integer _
)
'Utilisation
Dim instance As AvailabilityGroupListenerIPAddressCollection
Dim array As AvailabilityGroupListenerIPAddress()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
AvailabilityGroupListenerIPAddress[] array,
int index
)
public:
void CopyTo(
array<AvailabilityGroupListenerIPAddress^>^ array,
int index
)
member CopyTo :
array:AvailabilityGroupListenerIPAddress[] *
index:int -> unit
public function CopyTo(
array : AvailabilityGroupListenerIPAddress[],
index : int
)
Paramètres
- array
Type : array<Microsoft.SqlServer.Management.Smo.AvailabilityGroupListenerIPAddress[]
An array of AvailabilityGroupListenerIPAddress objects.
- index
Type : System.Int32
The index value from which to start the copy.