AuditSpecificationDetail Constructor (AuditActionType, String, String, String, String)

 

Initializes a new instance of the AuditSpecificationDetail class for the specified action, class, schema, name, and principal.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public AuditSpecificationDetail(
	AuditActionType action,
	string objectClass,
	string objectSchema,
	string objectName,
	string principal
)

Parameters

action
Type: Microsoft.SqlServer.Management.Smo.AuditActionType

A AuditActionType object value that specifies the type of action to track during the audit.

objectClass
Type: System.String

A String value that specifies the class of the object to monitor during the audit.

objectSchema
Type: System.String

A String value that specifies the schema of the object to monitor during the audit.

objectName
Type: System.String

A String value that specifies the name of the object to monitor during the audit.

principal
Type: System.String

A String value that specifies the principal to monitor during the audit.

Return to top
Show: