次の方法で共有


device

Contains the information of the device, including the supported presence capabilities, with which the user logs in to Microsoft Lync Server 2010.

<device xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="https://schemas.microsoft.com/2006/09/sip/device"
    endpointId="xs:string"
    majorVersion="xs:unsignedInt"
    minorVersion="xs:unsignedInt"
    anyAttr="any"> 
    <capabilities uri="uri" preferred="boolean" [anyAttr]="anyattr">
       <!-- various child elements of the capabilityType in this namespace--!>
    </capabilities>
    <timezone>xs:time</timezone>
    <machineName>xs:string</machineName>
    <ct:extension xmlns:ct="https://schemas.microsoft.com/2006/09/sip/commontypes">
        <any xmlns="any_namespace">any</any>
    </ct:extension>
    <ct:delimiter xmlns:ct="https://schemas.microsoft.com/2006/09/sip/commontypes" />
    <any xmlns="https://schemas.microsoft.com/2006/09/sip/device">any element</any>
    <ct:end xmlns:ct="https://schemas.microsoft.com/2006/09/sip/commontypes" />
</device>

deviceType

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

endpointId

Required attribute to specify the endpoint Id of the device.

majorVersion

Optional attribute to specify schema-dependent major version information.

minorVersion

Optional attribute to specify schema-dependent minor version information.

[anyAttr]

Optional custom attribute of any name and namespace

Child Elements

Element

Occurrence

Description

capabilities

1 ore more

Presence capabilities of the device.

machineName

1

Machine name of the device.

timezone

1

Time zone time when the device becomes active.

extension

0 or 1

Application-dependent custom extension.

delimiter

0 or more

A marker to begin a version-dependent schema extension.

[any]

0 or more

Custom element of any name in the same namespace describing a schema extension to this element. This element must be enclosed between a delimiter element and an end element or between a two delimiter elements.

end

0 or 1

The marker to end all the schema versions.

Parent Elements

Element

Description

None

This is a top-level element as an enhanced presence category instance

Text Value

None

Example

The following XML code snippet describes a device named "BOB_client", capable of displaying texts and images, disabled for capturing or publishing the said media.

<?xml version="1.0" encoding="utf-8" ?>
<de:device xmlns:de="https://schemas.microsoft.com/2006/09/sip/device" 
           endpointId="3CC22CF7-1BEA-5A5E-B256-E662173CD273">
  <de:capabilities preferred="false" uri="sip:bob@contoso.com">
    <de:text capture="false" render="boolean" publish="false" />
    <de:gifInk capture="false" render="boolean" publish="false" />
    <de:isfInk capture="false" render="boolean" publish="false" />
  </de:capabilities>
  <de:timezone>00:00:00-07:00</de:timezone>
  <de:machineName>BOB_client</de:machineName>
  <ct:delimiter xmlns:ct="https://schemas.microsoft.com/2006/09/sip/commontypes" />
  <de:any>a version-specific schema extension</de:any>
  <ct:end xmlns:ct="https://schemas.microsoft.com/2006/09/sip/commontypes" />
  <ct:extension xmlns:ct="https://schemas.microsoft.com/2006/09/sip/commontypes" >
     <other:any xmlns:other="any-name-space">custom extension</other:any>
  </ct:extension>
</device>

Element Information

Namespace

https://schemas.microsoft.com/2006/09/sip/device

Schema Name

device

Validation File

device.xsd, devicetypes.xsd

Can be Empty

True

See Also

Reference

services