Freigeben über


AvailabilityGroupListenerCollection.CopyTo-Methode

Copies the collection objects to a one-dimensional array beginning at the index value specified.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As AvailabilityGroupListener(), _
    index As Integer _
)
'Usage
Dim instance As AvailabilityGroupListenerCollection 
Dim array As AvailabilityGroupListener()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    AvailabilityGroupListener[] array,
    int index
)
public:
void CopyTo(
    array<AvailabilityGroupListener^>^ array, 
    int index
)
member CopyTo : 
        array:AvailabilityGroupListener[] * 
        index:int -> unit
public function CopyTo(
    array : AvailabilityGroupListener[], 
    index : int
)

Parameter

  • index
    Typ: System.Int32
    The index value from which to start the copy.

Siehe auch

Verweis

AvailabilityGroupListenerCollection Klasse

Microsoft.SqlServer.Management.Smo-Namespace