Partilhar via


SPDiagnosticsItem Members

Include Protected Members
Include Inherited Members

Base class for SPDiagnosticsCategory and SPDiagnosticsArea to store the properties common to both classes.

The SPDiagnosticsItem type exposes the following members.

Constructors

  Name Description
Public method SPDiagnosticsItem(String, UInt32, UInt32, Boolean) Initializes a new instance of the SPDiagnosticsItem class
Public method SPDiagnosticsItem(String, String, UInt32, UInt32, Boolean) Initializes a new instance of the SPDiagnosticsItem class with a set of properties.

Top

Properties

  Name Description
Public property Hidden Retrieves the value indicating whether the item is hidden from the administrative user interface.
Public property Id Gets the unique ID for the item.
Public property LocalizedName Gets the name for the item, localized for display to the user.
Public property MessageId Gets the integer value representing the index in the message table corresponding to this item.
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.

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. (Overrides Object.ToString().)

Top

See Also

Reference

SPDiagnosticsItem Class

Microsoft.SharePoint.Administration Namespace