CopyCtl.SetSourceUrl Method

Applies to: SharePoint Foundation 2010

Sets the location of the item to copy.

expression.SetSourceUrl(bstrSrcUrl)

Parameters

expression

An expression that returns a CopyCtl Control object.

bstrSrcUrl

A string that contains the URL of the copy source.

Remarks

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.