Edit

Share via


expireType element

Applies to: Lync 2013 | Lync Server 2013

Specifies the expiry policy of the category publication.

<expireType type="expireTypeValuesEnumEx" expireTime="xs:integer"  [anyAttribute]="anyType" />

expireTypeType

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 expiry policy. Microsoft Lync Server 2013 supports the following predefined values:

endpoint

Expires when the endpoint logs off.

static

The publication does not expire.

user

The publication expires when the user signs out of Lync Server 2013.

time

The publication expires at the end of a time period specified by the expireTime attribute.

custom

The publication has a custom expiry policy.

expireTime

An optional integer value specifying the time duration at the end of which the publication expires. This attribute can be specified only when the type attribute has a value of "time".

Child elements

None

Parent elements

Element

Description

publicationRule element

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

Text value

None

Remarks

This element is optional. If it's unspecified, the publication is endpoint-bound.

Example

The following example shows a publication rule for publishing an state[@type='aggregateState'] element category instance to the Block container.

<publicationRule ruleType="bootstrap" categoryName="state" containerId="32000"> 
   <instanceId type="constant" value="0" /> 
   <expireType type="static" /> 
   <categoryData> 
     <state xmlns="http://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

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

Schema Name

categoryPublicationManifest

Validation File

PublicationGrammarSchemaForNewPublicationManifest.xsd

Can be Empty

False

See also

Reference

Category instance elements for publication grammar

Concepts

Publication grammar, privacy, and interoperability