SPDiagnosticsService Methods
Include Protected Members
Include Inherited Members
The SPDiagnosticsService type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddBackupObjects | Adds the SPDiagnosticesServiceBase object to the backup/restore operation. (Inherited from SPDiagnosticsServiceBase.) | |
Clone | Returns a clone of the object that does not come from the in-memory cache, which enables calling code to help ensure thread safety. (Inherited from SPPersistedObject.) | |
CreateTimerJob | Creates a timer job to update the service configuration, based on the configuration that is stored in the content database. | |
Delete | Removes the service and associated resources. (Inherited from SPService.) | |
Equals | Determines whether the current persisted object equals the specified object. (Inherited from SPPersistedObject.) | |
Finalize | (Inherited from Object.) | |
GetChild<T>() | Returns the child of the persisted object based on the specified type. (Inherited from SPPersistedObject.) | |
GetChild<T>(String) | Returns the child object of the persisted object based on the specified name. (Inherited from SPPersistedObject.) | |
GetCreateApplicationLink | (Inherited from SPService.) | |
GetCreateApplicationOptions | (Inherited from SPService.) | |
GetHashCode | Serves as a hash function for the persisted object. (Inherited from SPPersistedObject.) | |
GetItem(Int32) | Obsolete. This member is reserved for internal use and is not intended to be used directly from your code. | |
GetItem(String) | Obsolete. Returns an IDiagnosticsLevel object that represents a reporting category with a specified name. | |
GetItems | Obsolete. Gets a collection of all categories registered with the server farm. | |
GetObjectData | Gets the serialized state of the object. (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
HasAdditionalUpdateAccess | Override this method to allow more users to update the object. (Inherited from SPPersistedObject.) | |
Invalidate | Invalidates computed property values. (Inherited from SPPersistedUpgradableObject.) | |
LocalToFarm | Returns an instance of the SPDiagnosticsService class that is associated with the specified SPFarm object. | |
MemberwiseClone | (Inherited from Object.) | |
OnAbort | Raises the Abort event. (Inherited from SPDiagnosticsServiceBase.) | |
OnBackup | (Overrides SPDiagnosticsServiceBase.OnBackup(Object, SPBackupInformation).) | |
OnBackupComplete | Raises the BackupComplete event. (Inherited from SPDiagnosticsServiceBase.) | |
OnDeserialization | Called immediately after the base class deserializes itself to do additional work. (Inherited from SPPersistedObject.) | |
OnPostRestore | Raises the PostRestore event. (Inherited from SPDiagnosticsServiceBase.) | |
OnPrepareBackup | Raises the PrepareBackup event. (Inherited from SPDiagnosticsServiceBase.) | |
OnPreRestore | Raises the PreRestore event. (Inherited from SPDiagnosticsServiceBase.) | |
OnRestore | (Overrides SPDiagnosticsServiceBase.OnRestore(Object, SPRestoreInformation).) | |
ProvideAreas | (Overrides SPDiagnosticsServiceBase.ProvideAreas().) | |
Provision | Makes the necessary changes to the local server to use the SPDiagnosticsService object. (Overrides SPPersistedObject.Provision().) | |
ResetAll | Resets reporting thresholds for all categories to their diagnostic logging thresholds. (Inherited from SPDiagnosticsServiceBase.) | |
ResetItem(Int32) | Obsolete. This member is reserved for internal use and is not intended to be used directly from your code. | |
ResetItem(IDiagnosticsLevel) | Obsolete. Resets the default reporting thresholds for a category that is specified by an IDiagnosticsLevel object. | |
SetAll(EventSeverity) | Sets the threshold at which events associated with all categories are written to the event log. (Inherited from SPDiagnosticsServiceBase.) | |
SetAll(TraceSeverity) | Sets the threshold at which traces associated with all categories are written to the trace log. (Inherited from SPDiagnosticsServiceBase.) | |
SetAll(TraceSeverity, EventSeverity) | Sets the threshold at which traces and Windows events associated with all categories are written to trace logs and the Windows event log. (Inherited from SPDiagnosticsServiceBase.) | |
SetItem(Int32, TraceSeverity, EventSeverity) | Obsolete. This member is reserved for internal use and is not intended to be used directly from your code. | |
SetItem(IDiagnosticsLevel, TraceSeverity, EventSeverity) | Obsolete. Sets the reporting thresholds for a category that is specified by an IDiagnosticsLevel object. | |
ToString | Returns the type and name of an object and of all its ancestors (parent, grandparent, and so on). (Inherited from SPPersistedObject.) | |
Uncache | Frees the memory cache that is used by the object. (Inherited from SPPersistedObject.) | |
Unprovision | Makes the changes to the local server that are needed to clean up after deleting the object. (Inherited from SPPersistedObject.) | |
Update() | Causes the SPDiagnosticsService object to save its state and propagate changes to all servers in the server farm. (Overrides SPDiagnosticsServiceBase.Update().) | |
Update(Boolean) | Causes the object to save its state and propagate changes to all the computers in the server farm, optionally throwing an exception if the object already exists in the configuration store. (Inherited from SPPersistedObject.) | |
UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.) | |
Upgrade() | Upgrades the object. (Inherited from SPPersistedUpgradableObject.) | |
Upgrade(Boolean) | Upgrades the object, and if a Boolean parameter equals true, recursively upgrades all descendants of the current object. (Inherited from SPPersistedUpgradableObject.) | |
Validate | Validates the state of all fields before persisting the object. (Inherited from SPPersistedObject.) | |
ValidateBackwardsCompatibility | Validates the backward compatibility of the content database schema for the DLLs on the Web front end. This method is called each time a connection is made to the content database to verify that the database schema is compatible. (Inherited from SPPersistedUpgradableObject.) | |
WriteEvent | Writes an event to the Windows application event log, if the event severity is above the configured threshold for the SPDiagnosticsCategory. (Inherited from SPDiagnosticsServiceBase.) | |
WriteTrace | Writes a trace to the Microsoft SharePoint Foundation trace log. (Inherited from SPDiagnosticsServiceBase.) |
Top