UserDefinedTypeCollection.CopyTo Method (UserDefinedType , Int32)
Applies To: SQL Server 2016 Preview
Copies the collection objects to a one-dimensional array starting at the specified index value.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
public void CopyTo(
UserDefinedType[] array,
int index
)
public:
void CopyTo(
array<UserDefinedType^>^ array,
int index
)
member CopyTo :
array:UserDefinedType[] *
index:int -> unit
Public Sub CopyTo (
array As UserDefinedType(),
index As Integer
)
Parameters
array
Type: Microsoft.SqlServer.Management.Smo.UserDefinedType[]An array of UserDefinedType objects.
index
Type: System.Int32An Int32 value that specifies the index value from where to start the copy.
Examples
Legacy Code Example
See Also
UserDefinedTypeCollection Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top