Udostępnij przez


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)

Syntax

'Deklaracja
Public Sub New ( _
    action As AuditActionType, _
    objectSchema As String, _
    objectName As String, _
    principal As String _
)
public AuditSpecificationDetail (
    AuditActionType action,
    string objectSchema,
    string objectName,
    string principal
)
public:
AuditSpecificationDetail (
    AuditActionType action, 
    String^ objectSchema, 
    String^ objectName, 
    String^ principal
)
public AuditSpecificationDetail (
    AuditActionType action, 
    String objectSchema, 
    String objectName, 
    String principal
)
public function AuditSpecificationDetail (
    action : AuditActionType, 
    objectSchema : String, 
    objectName : String, 
    principal : String
)

Parameters

  • action
    A AuditActionType object value that specifies the type of action to track during the audit.
  • objectSchema
    A String value that specifies the schema of the object to monitor during the audit.
  • objectName
    A String value that specifies the name of the object to monitor during the audit.
  • principal
    A String value that specifies the principal to monitor during the audit.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.