StoredProcedureCollection.CopyTo Method (StoredProcedure , Int32)
Applies To: SQL Server 2016 Preview
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
public void CopyTo(
StoredProcedure[] array,
int index
)
public:
void CopyTo(
array<StoredProcedure^>^ array,
int index
)
member CopyTo :
array:StoredProcedure[] *
index:int -> unit
Public Sub CopyTo (
array As StoredProcedure(),
index As Integer
)
Parameters
array
Type: Microsoft.SqlServer.Management.Smo.StoredProcedure[]An array of StoredProcedure objects.
index
Type: System.Int32An Int32 value that specifies the index value from where to start the copy.
Examples
Legacy Code Example
See Also
StoredProcedureCollection Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top