Share via


Calendar.CopyTo method

Makes a copy of the calendar and gives the copy a new name.

Namespace:  Microsoft.ProjectServer.Client
Assembly:  Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Function CopyTo ( _
    name As String _
) As Calendar
'Usage
Dim instance As Calendar
Dim name As String
Dim returnValue As Calendar

returnValue = instance.CopyTo(name)
[RemoteAttribute]
public Calendar CopyTo(
    string name
)

Parameters

Return value

Type: Microsoft.ProjectServer.Client.Calendar
A calendar object.

See also

Reference

Calendar class

Calendar members

Microsoft.ProjectServer.Client namespace