Compartir a través de


llock Element for authoring for WebDAV [IIS Settings Schema]

Note

For more information about the lock element, see the following topic on the Microsoft IIS.net Web site: WebDAV Locks <lock>.

Defines the locking behavior for the WebDAV module.

Syntax

Attributes and Elements

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

Attributes

Attribute

Description

enabled

Optional Boolean attribute.

true if WebDAV locking is enabled; otherwise, false.

The default value is false.

lockStore

Optional string attribute.

Specifies the name of the provider to use for WebDAV locking. This name must be defined in the lockStores

collection. For information on the lockStore element, see lockStore Element for globalSettings for WebDAV [IIS Settings Schema].

This attribute has no default value.

requireLockForWriting

Optional Boolean attribute.

true if locks are required for WebDAV authoring; otherwise, false. Requiring locks for WebDAV authoring helps to prevent collisions in a multi-source authoring environment.

The default value is false.

Child Elements

None.

Parent Elements

Element

Description

configuration

Specifies the root element in every configuration file that is used by IIS 7.

system.webServer

Specifies the top-level section group (in ApplicationHost.config) in which this element is defined.

webdav

Configures Web Distributed Authoring and Versioning (WebDAV) for Internet Information Services (IIS) 7.

authoring

Specifies the site-level settings for WebDAV.

Remarks

For more information about the lock element, see the following topic on the Microsoft IIS.net Web site: WebDAV Locks <lock>.

Element Information

Configuration locations

ApplicationHost.config

Requirements

IIS 7

See Also

Reference

authoring Element for WebDAV [IIS Settings Schema]