AuditSpecificationDetail Constructor (AuditActionType)
Initializes a new instance of the AuditSpecificationDetail class with the specified action.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
action As AuditActionType _
)
'Usage
Dim action As AuditActionType
Dim instance As New AuditSpecificationDetail(action)
public AuditSpecificationDetail(
AuditActionType action
)
public:
AuditSpecificationDetail(
AuditActionType action
)
new :
action:AuditActionType -> AuditSpecificationDetail
public function AuditSpecificationDetail(
action : AuditActionType
)
Parameters
- action
Type: Microsoft.SqlServer.Management.Smo.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.