CopyCtl.SetOperationType Method

Applies to: SharePoint Foundation 2010

Sets the type of operation performed on the CopyCtl Control object.

expression.SetOperationType(op as Long)

Parameters

expression

An expression that returns a CopyCtl object.

op

A Long that specifies the type of operation; 1 indicates a copy operation.

Remarks

Use the CopyCtl.SetSourceUrl Method method to specify the location of the item to copy. Use the CopyCtl.AddDestinationUrl Method method to specify the copy destination. Use the CopyCtl.PerformOperation Method method to initiate the copy operation. Use the CopyCtl.GetOperationResult Method method to complete the copy operation.