Share via


MSFT_SIPRgsHolidayData (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 configures the start and end dates and times for a holiday in a holiday set.

The property values for the MSFT_SIPRgsQueueData class map to the settings found in the Response Grpup Services Properties dialog box. You can access these values in the Office Communications Server 2007 R2 Administration Tool by right-clicking the name of a Standard Edition server or Enterprise Edition pool, pointing to Properties, pointing to Applications, and then clicking Response Group Service Properties. In the Response Group Service snap-in, right-click the name of a pool and then click Properties.

MSFT_SIPRgsHolidayData

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_SIPRgsHolidayData
{
  [key] string Backend;
  string HolidayEnd;
  string HolidayStart;
  [key] string InstanceId;
  string Name;
};

Methods

This class does not define any methods.

Properties

The MSFT_SIPRgsHolidayData 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.

    The Backend property does not map to the Properties dialog box.

  • HolidayEnd
    Data type: string

    Access type: Read/Write

    Required. The date and time that the holiday starts. This property expresses date and time in the .NET Framework standard date and time format type o:

    yyyy-MM-ddTHH:mm:ss.fffffffzz

    Where yyyy is the year (0000-9999), MM is the month (00-12), dd is the day of the month (01-31), HH is hours since the last full day (00-23), mm is minutes since the last full hour (00-59), ss is seconds since the last full minute (00-59), fffffff is fractions represented in seven digits, and zz is the time zone offset for the system's current time zone in hours only (–12 to +13, behind or ahead of GMT).

    The .NET Framework time and date formats are described in the MSDN article, Standard Date and Time Format Strings.

    Tip

    Any value format that the Convert..::.ToDateTime Method (String) converts properly can be assigned to this property.

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

    The HolidayEnd property maps to the End Date setting in the Properties dialog box.

  • HolidayStart
    Data type: string

    Access type: Read/Write

    Required. The date and time that the holiday ends. The same formatting rules apply as described for HolidayEnd.

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

    The HolidayStart property maps to the Start Date setting in the Properties dialog box.

  • 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}".

    The InstanceID property does not map to the Properties dialog box.

  • Name
    Data type: string

    Access type: Read/Write

    Required. The name for this holiday. The name identifies the holiday in the Response Group Configuration Tool or other client applications.

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

    The Name property maps to the Name text box in the Properties dialog box.

Remarks

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.

See Also

Concepts

Office Communications Server WMI Reference