Share via


MSFT_SIPGlobalPolicyXMLData

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.

An XML-formatted representation of an instance of a policy. This class is used for meeting, mobility, presence, and unified communications policies.

MSFT_SIPGlobalPolicyXMLData

The MSFT_SIPGlobalPolicyXMLData properties do not map to the Administration Tool.

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_SIPGlobalPolicyXMLData
{
  string ContentXML;
  boolean DefaultPolicy;
  [key] string InstanceID;
  string PolicyDN;
  string Type;
};

Methods

This class does not define any methods.

Properties

The MSFT_SIPGlobalPolicyXMLData class has the following properties.

  • ContentXML
    Data type: string

    Access type: Read/Write

    Required. The XML representation of the global policy.

    This value is a single-valued Unicode string. This string attribute contains the policy definition in XML format. The XML schema definition is common across different policy types, only the settings are different for each policy type.

    The XML schema definition (XSD) is defined below:

    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema id="instance"  xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
       <xs:element name="instance" msdata:IsDataSet="true">
          <xs:complexType>
             <xs:choice maxOccurs="unbounded">
                <xs:element name="property" nillable="true">
                   <xs:complexType>
                      <xs:simpleContent msdata:ColumnName="property_Text" msdata:Ordinal="1">
                         <xs:extension base="xs:string">
                            <xs:attribute name="name" type="xs:string" />
                         </xs:extension>
                      </xs:simpleContent>
                   </xs:complexType>
                </xs:element>
             </xs:choice>
          </xs:complexType>
       </xs:element>
    </xs:schema>
    

    The value of this property is not case-sensitive.

  • DefaultPolicy
    Data type: boolean

    Access type: Read/Write

    Required. Indicates whether this is the default policy that is applied to users that lack a globally or explicitly assigned policy.

    True indicates that this is the default policy for the policy type specified by the Type property.

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

  • PolicyDN
    Data type: string

    Access type: Read-only

    Required. The distinguished name of the policy.

    The value of this property is not case-sensitive.

  • Type
    Data type: string

    Access type: Read/Write

    Required. Indicates the policy type.

    The value of this property is case-sensitive.

    Value

    Policy Type

    meeting

    Meeting

    mobility

    Mobility

    presence

    Presence

    uc

    Unified Communications

Remarks

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

Instances of this class support the following interface methods:

  • Provider::EnumerateInstances();

  • Provider::GetObject();

  • Provider::PutInstance();

Scripting

You can use code similar to the following to bind to the MSFT_SIPGlobalPolicyXMLData class. In the two examples, the dot (.) represents the local computer. To bind to a remote computer, replace the dot with the name of that computer (e.g., atl-ocs-001).

VBScript

strComputer = "."
wmiQuery = "Select * From MSFT_SIPGlobalPolicyXMLData"
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colList = objWMIService.ExecQuery(wmiQuery)

Windows Powershell

$colList = Get-WMIObject MSFT_SIPGlobalPolicyXMLData –computer "."

Requirements

Server: Installed on computers serving the following roles: Administrative Tools Server, Audio/Video Conferencing Server, Front End Server, Proxy Server, Web Components Server, and Web Conferencing Server.

Namespace: Defined in \root\cimv2.

See Also

Concepts

Office Communications Server WMI Reference

MSFT_SIPGlobalMeetingPolicyData

MSFT_SIPGlobalPresencePolicyData (New)

MSFT_SIPGlobalUCPolicyData

Other Resources

MSFT_SIPGlobalMobilityPolicyData