Compartir a través de


CopyTo Método

Copies the current application role collection to the specified application role array at the specified index.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub CopyTo ( _
    array As ApplicationRole(), _
    index As Integer _
)
'Uso
Dim instance As ApplicationRoleCollection
Dim array As ApplicationRole()
Dim index As Integer

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

Parámetros

  • index
    Tipo: System. . :: . .Int32
    The index of the application role array at which the collection roles will be added.