Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AuditSpecificationDetail Constructor (AuditActionType, String, String, String)

AuditSpecificationDetail Constructor (AuditActionType, String, String, String)

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

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

public AuditSpecificationDetail(
	AuditActionType action,
	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.
objectSchema
Type: String
A String value that specifies the schema of the object to monitor during the audit.
objectName
Type: String
A String value that specifies the name of the object to monitor during the audit.
principal
Type: String
A String value that specifies the principal to monitor during the audit.

Community Additions

ADD
Show:
© 2015 Microsoft