IAdmExchangeCalendarPermissionModificationCollection

The IAdmExchangeCalendarPermissionModificationCollection interface represents a collection of calendar permissions of an Exchange mailbox. The collection can be used to retrieve and update the permissions.

Inheritance: IEnumerable

Methods

  • Method

  • Description

  • Add()

  • Adds the specified calendar permission to the collection.

  • Clear()

  • Removes all calendar permissions from the collection.

  • GetItem()

  • Returns a calendar permission by its index.

  • GetOperation()

  • Returns the operation to be performed on the specified permission contained in the collection.

  • SetOperation()

  • Updates the operation to be performed on the specified permission contained in the collection.

  • Remove()

  • Removes the specified calendar permission from the collection.

Properties

  • Property

  • Description

  • Count

  • Gets the number of calendar permissions in the collection.

  • OverrideOldValues

  • Gets or sets a value indicating how to update existing calendar permissions.

Details

Add()

Adds the specified calendar permission to the collection.

void Add(ADS_PROPERTY_OPERATION_ENUM operation, IAdmExchangeCalendarPermission permission)

Parameters

  • operation - Specifies the operation to be performed on the permission.
  • permission - Specifies the calendar permission to be added.

Clear()

Removes all calendar permissions from the collection.

void Clear()

GetItem()

Returns a calendar permission by its index.

IAdmExchangeCalendarPermission GetItem(int index, out ADS_PROPERTY_OPERATION_ENUM operation)

Parameters

  • index - Specifies the index of the calendar permission to return.
  • operation is an output (OUT) parameter that returns the operation to be performed on the permission.

GetOperation()

Returns the operation to be performed on the specified permission contained in the collection. The operation will be performed when updating calendar permissions of an Exchange mailbox.

ADS_PROPERTY_OPERATION_ENUM GetOperation(IAdmExchangeCalendarPermission permission)

SetOperation()

Updates the operation to be performed on the specified permission contained in the collection. The operation will be performed when updating calendar permissions of an Exchange mailbox

void SetOperation(IAdmExchangeCalendarPermission permission,
                  ADS_PROPERTY_OPERATION_ENUM operation)

Parameters

  • permission - Specifies the calendar permission, the operation is set for.
  • operation - Specifies the operation to be performed on the calendar permission.

Remove()

Removes the specified calendar permission from the collection.

void Remove(IAdmExchangeCalendarPermission permission)

Count

Gets the number of calendar permissions in the collection.

  • Type:
  • int
  • Access:
  • Read-only

OverrideOldValues

Gets or sets a value indicating how to update existing calendar permissions. If set to true, the current permissions will be replaced with the permissions contained in the collection. If set to false, calendar permissions will be updated according to the operations specified in the collection.

  • Type:
  • bool
  • Access:
  • Read/Write

Requirements

Minimum required version: 2019.1

See also