AuditSpecificationDetail AuditSpecificationDetail AuditSpecificationDetail Constructors

Definition

Overloads

AuditSpecificationDetail(AuditActionType) AuditSpecificationDetail(AuditActionType) AuditSpecificationDetail(AuditActionType)

Initializes a new instance of the AuditSpecificationDetail class with the specified action.

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

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

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

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

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

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

AuditSpecificationDetail(AuditActionType) AuditSpecificationDetail(AuditActionType) AuditSpecificationDetail(AuditActionType)

Initializes a new instance of the AuditSpecificationDetail class with the specified action.

public:
 AuditSpecificationDetail(Microsoft::SqlServer::Management::Smo::AuditActionType action);
public AuditSpecificationDetail (Microsoft.SqlServer.Management.Smo.AuditActionType action);
Public Sub New (action As AuditActionType)
Parameters
action
AuditActionType AuditActionType AuditActionType

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

Remarks

The default constructor initializes any fields to their default values.

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

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

public:
 AuditSpecificationDetail(Microsoft::SqlServer::Management::Smo::AuditActionType action, System::String ^ objectName, System::String ^ principal);
public AuditSpecificationDetail (Microsoft.SqlServer.Management.Smo.AuditActionType action, string objectName, string principal);
Public Sub New (action As AuditActionType, objectName As String, principal As String)
Parameters
action
AuditActionType AuditActionType AuditActionType

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

objectName
String String String

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

principal
String String String

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

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

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

public:
 AuditSpecificationDetail(Microsoft::SqlServer::Management::Smo::AuditActionType action, System::String ^ objectSchema, System::String ^ objectName, System::String ^ principal);
public AuditSpecificationDetail (Microsoft.SqlServer.Management.Smo.AuditActionType action, string objectSchema, string objectName, string principal);
Public Sub New (action As AuditActionType, objectSchema As String, objectName As String, principal As String)
Parameters
action
AuditActionType AuditActionType AuditActionType

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

objectSchema
String String String

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

objectName
String String String

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

principal
String String String

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

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

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

public:
 AuditSpecificationDetail(Microsoft::SqlServer::Management::Smo::AuditActionType action, System::String ^ objectClass, System::String ^ objectSchema, System::String ^ objectName, System::String ^ principal);
public AuditSpecificationDetail (Microsoft.SqlServer.Management.Smo.AuditActionType action, string objectClass, string objectSchema, string objectName, string principal);
Public Sub New (action As AuditActionType, objectClass As String, objectSchema As String, objectName As String, principal As String)
Parameters
action
AuditActionType AuditActionType AuditActionType

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

objectClass
String String String

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

objectSchema
String String String

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

objectName
String String String

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

principal
String String String

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

Applies to