共用方式為


SPDiagnosticsCategory.TraceSeverity Property

Gets or sets the currently configured verbosity of trace logging.

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

Syntax

'Declaration
Public Property TraceSeverity As TraceSeverity
    Get
    Set
'Usage
Dim instance As SPDiagnosticsCategory
Dim value As TraceSeverity

value = instance.TraceSeverity

instance.TraceSeverity = value
public TraceSeverity TraceSeverity { get; set; }

Property Value

Type: Microsoft.SharePoint.Administration.TraceSeverity
Returns the currently configured verbosity of trace logging.

Implements

IDiagnosticsLevel.TraceSeverity

See Also

Reference

SPDiagnosticsCategory Class

SPDiagnosticsCategory Members

Microsoft.SharePoint.Administration Namespace