Skip to content

AddResource Method

Description

Adds a new CalendarResourceDescription to the resource manager's collection of resources.

Syntax

Public Function AddResource( _
    ByVal [Name](#) As String, _
    ByVal [Enabled](#) As Boolean _
) As Boolean

Parameters

  • Name: Name to give the new CalendarResource.
  • Enabled: Specify whether the new resource is enabled.

Return Type

Returns True if successful, False if a new CalendarResourceDescription object could not be created or a new resource could not be added to the CalendarResourceDescription object.

Remarks

AddResource only adds a new CalendarResourceDescription to the resource manager's collection of resources.

The resources must then be applied to the calendar. Only resources that are Enabled will be added to the calendar's resource collection.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.