Export (0) Print
Expand All

Audit Properties

The Audit type exposes the following members.

  Name Description
Public property CreateDate Gets the date and time when the audit log was created.
Public property DateLastModified Gets the date and time when the audit log was last modified.
Public property DestinationType Gets or sets the type of destination to which the audit log information is recorded, such as a file, or an application log.
Public property Enabled Gets the Boolean value that specifies whether the referenced audit is enabled on the instance of SQL Server. 
Public property FileName Gets the name of the file in which the audit log information is recorded, when the audit destination is a file.
Public property FilePath Gets or sets the location of the folder where the audit file is stored when the audit type is a file.
Public property Filter Gets or sets the filter of the audit.
Public property Guid Gets or sets the unique system identifier for the referenced audit.
Public property ID Gets the integer value that uniquely identifies the audit.
Public property MaximumFiles Gets or sets the maximum files of the audit.
Public property MaximumFileSize Gets or sets the maximum size of the audit in megabytes.
Public property MaximumFileSizeUnit Gets or sets the maximum file size unit that an audit is allowed to reach.
Public property MaximumRolloverFiles Gets or sets the maximum number of rollover files allowed.
Public property Name Gets or sets the name of the Audit object. (Overrides NamedSmoObject.Name.)
Public property OnFailure Gets or sets the action taken when the audit fails.
Public property Parent Gets the Server object that is the parent of the Audit object.
Public property Properties Gets a collection of Property objects that represent the object properties. (Inherited from SqlSmoObject.)
Public property QueueDelay Gets or sets the amount of time in milliseconds that can elapse before audit actions are processed.
Public property ReserveDiskSpace Gets or sets the Boolean property value that specifies whether disk space is reserved for the audit file.
Public property State Gets the state of the referenced object. (Inherited from SmoObjectBase.)
Public property Urn Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Inherited from SqlSmoObject.)
Public property UserData Gets or sets user-defined data associated with the referenced object. (Inherited from SmoObjectBase.)
Top

  Name Description
Explicit interface implemetation Private property ISfcSupportsDesignMode.IsDesignMode Gets or sets a property that specifies whether the object is open in design mode. Identified for informational purposes only. Not supported. Future compatibility is not guaranteed.
Top

Community Additions

ADD
Show:
© 2014 Microsoft