This documentation is archived and is not being maintained.

MSFT_SIPRgsBusinessHoursPresetsData (New)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

This class defines the settings for a predefined schedule (for example, open Monday to Friday, open 24/7).

These settings are configured by administrators or workgroup managers to configure business hours for deploying workflows.

NoteNote

This class does not support WMI events or adding new presets.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class MSFT_SIPRgsBusinessHoursPresetsData
{
  [key] string Backend;
  string Description;
  [key] string InstanceId;
  string Name;
  string[] PerDayOfWeekPresets;
};

Methods

This class does not define any methods.

Properties

The MSFT_SIPRgsBusinessHoursPresetsData class has the following properties.

Backend

Data type: [key] string

Access type: Read-only

Required: When accessing data from any role that belongs to a pool.

This property identifies the instance of SQL Server that manages the back-end database for Office Communications Server.

The value for this property depends on the topology of Office Communications Server.

Topology

Value

Standard Edition

(local)\rtc

Enterprise Edition

(consolidated or expanded configuration)

computername\instancename

or

computername

For Enterprise Edition, computername identifies either the FQDN or the NetBIOS name of the host computer for SQL Server and instancename identifies a named instance of SQL Server on the host computer. The value computername by itself specifies the default instance of SQL Server on the host computer.

Description

Data type: string

Access type: Read/Write

Optional. A string that describes the schedule.

The value of this property is not case-sensitive.

InstanceId

Data type: [key] string

Access type: Read-only

Required. A GUID value that uniquely identifies an instance of this class.

The GUID must be encapsulated between the "{" and "}" braces; for example: "{01234567-0123-4567-89AB-CDEF01234567}".

Name

Data type: string

Access type: Read/Write

Required. Specifies the schedule name as it is displayed in a Response Group Configuration Tool or other client application.

The value of this property is case-sensitive. The maximum length of the string is 256 characters.

PerDayOfWeekPresets

Data type: string[]

Access type: Read/Write

Required. Specifies the preset schedule to use with a workflow.

The value of this property is not case-sensitive.

Remarks

Office Communications Server instantiates the following static (shared) instances of this class:

InstanceId

Name

Description

PerDayOfWeekPresets

{7C0BE79E-A679-4e31-91E7-2B14E6513A97}

Always Open

24 hours every day

{"00:00-24:00","00:00-24:00","00:00-24:00","00:00-24:00","00:00-24:00","00:00-24:00","00:00-24:00"}

{25C25041-E087-4b4e-9848-D2D9ED70BCF7}

Monday-Friday 8-5

Monday to Friday 8 to 5

{"#","08:00-17:00","08:00-17:00","08:00-17:00","08:00-17:00","08:00-17:00","#"}

{2D5266B8-B67D-4473-BF33-B1A4BEA80EA8}

Monday-Friday 8-5 with break

Monday to Friday 8 to 5 with a lunch break

{"#","08:00-12:00|13:00-17:00","08:00-12:00|13:00-17:00","08:00-12:00|13:00-17:00","08:00-12:00|13:00-17:00","08:00-12:00|13:00-17:00","#"}

{85C44A1B-CDD7-41ca-8502-56BFF6A59C5B}

Monday-Friday 9-6

Monday to Friday 9 - 6

{"#","09:00-18:00","09:00-18:00","09:00-18:00","09:00-18:00","09:00-18:00","#"}

{1BD8AF59-0946-447a-AC2B-BF7565791DA9}

Monday-Friday 9-6 with break

Monday to Friday 9 - 6 with a lunch break

{"#","09:00-12:00|13:00-18:00","09:00-12:00|13:00-18:00","09:00-12:00|13:00-18:00","09:00-12:00|13:00-18:00","09:00-12:00|13:00-18:00","#"}

{710CB167-EC21-43fb-8459-12F7D071D0A2}

Monday-Friday 9-6 with break + Saturday

Monday to Friday 9 - 6 with a lunch break, Saturday 9 - 1

{"#","09:00-12:00|13:00-18:00","09:00-12:00|13:00-18:00","09:00-12:00|13:00-18:00","09:00-12:00|13:00-18:00","09:00-12:00|13:00-18:00","09:00-13:00"}

{A1855E57-885A-4ddf-B012-589658F0D738}

Monday-Friday 9-7 with long break

Monday to Friday 9 - 7 with a long lunch break

{"#","09:00-12:00|15:00-19:00","09:00-12:00|15:00-19:00","09:00-12:00|15:00-19:00","09:00-12:00|15:00-19:00","09:00-12:00|15:00-19:00","#"}

{27A96571-3E33-4f0d-A987-E965C47DE2C1}

Saturday-Wednesday

Saturday to Wednesday 9.30 - 3.30

{"09:00-15:30","09:00-15:30","09:00-15:30","09:00-15:30","#","#","09:00-15:30"}

This class gets and sets information at the following level: SQL.

Instances of this class support the following interface methods:

  • Provider::DeleteInstance();

  • Provider::EnumerateInstances();

  • Provider::GetObject();

  • Provider::PutInstance();

    Where PutInstance() supports the following flags:

    • WBEM_FLAG_CREATE_ONLY

    • WBEM_FLAG_UPDATE_ONLY

    • WBEM_FLAG_CREATE_OR_UPDATE

Requirements

Server: Installed on computers serving the following roles: Administrative Tools Server, Application Host, and Web Components Server.

Namespace: Defined in \root\cimv2.

Show: