SPWebApplication.DisableCoauthoring Property

Gets or sets a Boolean value that specifies whether shared file locking is enabled for coauthoring Microsoft Office, an integrated system of programs, servers, and services documents.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property DisableCoauthoring As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.DisableCoauthoring

instance.DisableCoauthoring = value
public bool DisableCoauthoring { get; set; }

Property Value

Type: System.Boolean
Boolean
false if shared file locking is enabled; otherwise, true. This property always returns true if the DisableCoauthoring property is set at the farm level on the SPWebService class.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace