共用方式為


SPDiagnosticsService.AllowLegacyTraceProviders Property

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

Syntax

'Declaration
Public Property AllowLegacyTraceProviders As Boolean
    Get
    Set
'Usage
Dim instance As SPDiagnosticsService
Dim value As Boolean

value = instance.AllowLegacyTraceProviders

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

Property Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

SPDiagnosticsService Class

SPDiagnosticsService Members

Microsoft.SharePoint.Administration Namespace