다음을 통해 공유


SPDiagnosticsArea Members

Include Protected Members
Include Inherited Members

Represents a logical container of one or more SPDiagnosticsCategories objects, and is used to implement a custom diagnostic service.

The SPDiagnosticsArea type exposes the following members.

Constructors

  Name Description
Public method SPDiagnosticsArea(String, IEnumerable<SPDiagnosticsCategory>) Initializes a new instance of the SPDiagnosticsArea class by using the specified parameters.
Public method SPDiagnosticsArea(String, UInt32, UInt32, Boolean, IEnumerable<SPDiagnosticsCategory>) Initializes a new instance of the SPDiagnosticsArea class by using the specified parameters.
Public method SPDiagnosticsArea(String, String, UInt32, UInt32, Boolean, IEnumerable<SPDiagnosticsCategory>) Initializes a new instance of the SPDiagnosticsArea class by using the specified parameters.

Top

Properties

  Name Description
Public property Categories Gets the collection of child categories for this SPDiagnosticsArea object.
Public property DiagnosticsService Gets the parent DiagnosticsService of this SPDiagnosticsArea object.
Public property Hidden Retrieves the value indicating whether the item is hidden from the administrative user interface. (Inherited from SPDiagnosticsItem.)
Public property Id Gets the unique ID for the item. (Inherited from SPDiagnosticsItem.)
Public property LocalizedName Gets the name for the item, localized for display to the user. (Inherited from SPDiagnosticsItem.)
Public property MessageId Gets the integer value representing the index in the message table corresponding to this item. (Inherited from SPDiagnosticsItem.)
Public property Name Gets the non-localized name for the item, used when writing to the trace log, or when manipulating categories through the object model or through powershell. (Inherited from SPDiagnosticsItem.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Formats the item and outputs it as a string value. (Inherited from SPDiagnosticsItem.)

Top

See Also

Reference

SPDiagnosticsArea Class

Microsoft.SharePoint.Administration Namespace