共用方式為


SPClientCallableSettings.EnableStackTrace property

取得或設定 Boolean 值,會指定伺服器是否可以傳送給用戶端的堆疊追蹤資料。

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

Syntax

'宣告
Public Property EnableStackTrace As Boolean
    Get
    Set
'用途
Dim instance As SPClientCallableSettings
Dim value As Boolean

value = instance.EnableStackTrace

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

Property value

Type: System.Boolean
true伺服器可將堆疊追蹤資料傳送給用戶端 ; 如果否則,請false。

請參閱

參照

SPClientCallableSettings class

SPClientCallableSettings members

Microsoft.SharePoint.Administration namespace