Share via


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)

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