共用方式為


SPWebApplication.DisableCoauthoring property

取得或設定 Boolean 值,以指定是否為 coauthoring Microsoft Office, an integrated system of programs, servers, and services文件中啟用共用的檔案鎖定。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Property DisableCoauthoring As Boolean
    Get
    Set
'用途
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如果共用檔案鎖定已啟用 ;否則,請true。如果DisableCoauthoring屬性設定在伺服器陣列層級上SPWebService類別,此屬性一定會傳回true 。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace