Partilhar via


instanceId

Specifies a particular category instance to which the publication rule is applied.

<instanceId type="instanceIdValuesEnumEx" value="xs:integer" [anyAttribute]="anyType" />

instanceIdType

Attributes and Elements

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

Attributes

Attribute

Description

[anyAttribute]

Any attribute

type

A required string value to specify the type of instance Id. Lync Server 2010 supports the following predefined values:

constant

The instance Id will not change.

custom

The instanced Id can be custom-defined.

value

A required integer value specifying the Id of a category instance to be published according to the given publication rule.

Child Elements

None

Parent Elements

Element

Description

publicationRule

The publication rule to be applied to the specified category instance.

Text Value

None

Remarks

This element is optional. If an instance Id is specified, the publication rule applies to the specified instance of a given category. Otherwise, the publication rule applies to all the instances of a given category.

Example

The following example shows the publication rules for publishing note category instances used by Lync 2010.

<publicationRule ruleType="bootstrap" categoryName="state" containerId="32000"> 
   <instanceId type="constant" value="0" /> 
   <expireType type="static" /> 
   <categoryData> 
     <state xmlns="https://schemas.microsoft.com/2006/09/sip/state" 
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
            manual="false" xsi:type="aggregateState"> 
        <availability>18500</availability> 
     </state> 
   </categoryData> 
</publicationRule> 

Element Information

Namespace

https://schemas.microsoft.com/2008/09/sip/categoryPublicationManifest

Schema Name

categoryPublicationManifest

Validation File

PublicationGrammarSchemaForNewPublicationManifest.xsd

Can be Empty

False

See Also

Concepts

Publication Grammar, Privacy and Interoperability