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
name
Type: System.StringThe name of the new calendar.
Return value
Type: Microsoft.ProjectServer.Client.Calendar
A calendar object.