TaskLauncher.CreateEnterpriseCalendar Method
Applies to: SharePoint Foundation 2010
Creates an enterprise calendar for the active Project object.
CreateEnterpriseCalendar()
Return Value
Type: Int32
If the call is successful, the method returns S_OK. Otherwise, it returns an error code, such as E_FAIL. For more information, see the VSConstants class.