Compartir a través de


EventPropertyCollection.CopyTo Method

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

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Sub CopyTo ( _
    array As EventProperty(), _
    index As Integer _
)
public void CopyTo (
    EventProperty[] array,
    int index
)
public:
void CopyTo (
    array<EventProperty^>^ array, 
    int index
)
public void CopyTo (
    EventProperty[] array, 
    int index
)
public function CopyTo (
    array : EventProperty[], 
    index : int
)

Parámetros

  • array
    An array of EventProperty objects to which to copy the collection.
  • index
    An Int32 value that specifies the index value from where to start the copy.

Notas

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Ejemplo

How to: Reference an Object by Using a Collection in Visual Basic .NET

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

EventPropertyCollection Class
EventPropertyCollection Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Using Collections