AuditStore class
Manages AuditStore
objects.
Syntax
class AuditStore
Properties
The AuditStore
class provides the following properties:
Property | Description |
Gets the active audit store database. |
|
Gets the list of the audit store databases. |
|
Gets the display name of the audit store. |
Methods
The AuditStore
class provides the following methods:
Method | Description |
Creates a new audit store database and attaches the database to the audit store using default settings. |
|
Creates a new audit store database and attaches the database to the audit store using custom settings specified in SQL scripts. |
|
Attaches an existing audit store database to the audit store. |
|
Changes which database is currently active in the audit store. |
|
Detaches a database from the audit store. |
|
Retrieves the audit store database object given the database display name. |
Discussion
An audit store can have multiple databases attached, but only one can be active at a time. This class allows you to manage the audit store, including attaching and detaching databases and specifying which database is active. To get information about the attached databases, use the AuditStoreDatabase class and the AuditStoreDatabases class.