AlertCollection.CopyTo Method (Alert[], Int32)


Copies the collection objects to a one-dimensional array beginning at the index value specified.

Namespace:   Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void CopyTo(
	Alert[] array,
	int index


Type: Microsoft.SqlServer.Management.Smo.Agent.Alert[]

An array of Alert objects.

Type: System.Int32

An Int32 value that specifies the index position to start the copy.

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Return to top