Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
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 DatabaseReplicaState(), _
index As Integer _
)
'Usage
Dim instance As DatabaseReplicaStateCollection
Dim array As DatabaseReplicaState()
Dim index As Integer
instance.CopyTo(array, index)
public void CopyTo(
DatabaseReplicaState[] array,
int index
)
public:
void CopyTo(
array<DatabaseReplicaState^>^ array,
int index
)
member CopyTo :
array:DatabaseReplicaState[] *
index:int -> unit
public function CopyTo(
array : DatabaseReplicaState[],
index : int
)
Parameters
- array
Type: array<Microsoft.SqlServer.Management.Smo.DatabaseReplicaState[]
An array objects.
- index
Type: System.Int32
A value that specifies the index position to start the copy.