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