Trace Members
Provides a mechanism to store event logs which can be later viewed or replayed. This class cannot be inherited.
The following tables list the members exposed by the Trace type.
Public Constructors
名称 | Description | |
---|---|---|
Trace | Overloaded. Initializes a new instance of the Trace class. |
顶部
Public Properties
(see also Protected Properties )
名称 | Description | |
---|---|---|
Annotations | Gets the collection object of all annotations to current object. (inherited from MajorObject) | |
Audit | Gets or sets whether the Trace object can drop any events, regardless of whether this results in degraded performance on the server. | |
AutoRestart | Gets or sets whether a Trace object will automatically restart when the Microsoft SQL Server 2005 Analysis Services (SSAS) service stops and restarts. | |
Container | (inherited from Component ) | |
CreatedTimestamp | Gets or sets the date and time of the creation of the object. (inherited from MajorObject) | |
Description | Gets or sets a description string of current object. (inherited from MajorObject) | |
Events | Gets the collection of event objects to be captured by a Trace. | |
ID | (inherited from NamedComponent ) | |
IsLoaded | (inherited from MajorObject ) | |
IsStarted | Gets the initiation status of a Trace object. | |
LastSchemaUpdate | Gets or sets the date and time when current object schema was last updated. (inherited from MajorObject) | |
LogFileAppend | Gets or sets whether Trace appends its logging output to the existing log file, or overwrites it. | |
LogFileName | Gets or sets the file name of the log file for the Trace object. | |
LogFileRollover | Gets or sets whether logging of Trace output will roll over to a new file, or whether it will stop when the maximum log file size that is specified in LogFileSize is reached. | |
LogFileSize | Gets or sets the maximum log file size, in megabytes. | |
Name | (inherited from NamedComponent ) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (inherited from ModelComponent) | |
Parent | Gets the parent Server of a Trace object. This class cannot be inherited. | |
Site | (inherited from NamedComponent ) | |
SiteID | (inherited from NamedComponent ) | |
StopTime | Gets or sets the date and time at which a Trace object should stop. |
顶部
Protected Properties
名称 | Description | |
---|---|---|
CanRaiseEvents | (inherited from Component ) | |
DesignMode | (inherited from Component ) | |
FriendlyName | (inherited from NamedComponent ) | |
KeyForCollection | (inherited from NamedComponent ) |
顶部
Public Methods
(see also Protected Methods )
名称 | Description | |
---|---|---|
Clone | Overloaded. | |
CopyTo | Overloaded. | |
CreateObjRef | (inherited from MarshalByRefObject ) | |
Dispose | Overloaded. (inherited from Component ) | |
Drop | Overloaded. Removes current object and updates server. (inherited from MajorObject) | |
Equals | Overloaded. (inherited from Object ) | |
GetDependents | (inherited from MajorObject ) | |
GetHashCode | (inherited from Object ) | |
GetLifetimeService | (inherited from MarshalByRefObject ) | |
GetReferences | (inherited from MajorObject ) | |
GetType | (inherited from Object ) | |
GetUpdateOverwrites | (inherited from MajorObject ) | |
InitializeLifetimeService | (inherited from MarshalByRefObject ) | |
ReferenceEquals | (inherited from Object ) | |
Refresh | Overloaded. Updates current object from server definitions. (inherited from MajorObject) | |
Start | Starts a Trace. | |
Stop | Stops a Trace. | |
Submit | Overloaded. (inherited from ModelComponent ) | |
ToString | (inherited from NamedComponent ) | |
Update | Overloaded. Updates server definition of current object to the actual values using default values for update. (inherited from MajorObject) | |
Validate | Overloaded. (inherited from NamedComponent ) |
顶部
Protected Methods
名称 | Description | |
---|---|---|
AddToContainer | (inherited from ModelComponent ) | |
AfterInsert | (inherited from ModelComponent ) | |
AfterMove | (inherited from ModelComponent ) | |
AfterRemove | (inherited from ModelComponent ) | |
BeforeRemove | (inherited from ModelComponent ) | |
Clone | Overloaded. (inherited from MajorObject ) | |
CopyTo | Overloaded. | |
Dispose | Overloaded. (inherited from Component ) | |
Finalize | (inherited from Component ) | |
GetCreateReferences | (inherited from MajorObject ) | |
GetDropDependents | (inherited from MajorObject ) | |
GetService | (inherited from Component ) | |
MemberwiseClone | Overloaded. (inherited from MarshalByRefObject ) | |
RemoveFromContainer | (inherited from ModelComponent ) | |
Reset | (inherited from NamedComponent ) |
顶部
Public Events
名称 | Description | |
---|---|---|
Disposed | (inherited from Component ) | |
OnEvent | Assigns a certain trace event handler to an event associated with a Trace object. | |
Stopped | Indicates that a Trace has stopped. This class cannot be inherited. |
顶部
Explicit Interface Implementations
顶部