Aracılığıyla paylaş


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

'Bildirim
Public Sub New ( _
    action As AuditActionType, _
    objectSchema As String, _
    objectName As String, _
    principal As String _
)
'Kullanım
Dim action As AuditActionType
Dim objectSchema As String
Dim objectName As String
Dim principal As String

Dim instance As New AuditSpecificationDetail(action, _
    objectSchema, objectName, principal)
public AuditSpecificationDetail(
    AuditActionType action,
    string objectSchema,
    string objectName,
    string principal
)
public:
AuditSpecificationDetail(
    AuditActionType action, 
    String^ objectSchema, 
    String^ objectName, 
    String^ principal
)
new : 
        action:AuditActionType * 
        objectSchema:string * 
        objectName:string * 
        principal:string -> AuditSpecificationDetail
public function AuditSpecificationDetail(
    action : AuditActionType, 
    objectSchema : String, 
    objectName : String, 
    principal : String
)

Parameters

  • 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.

See Also

Reference

AuditSpecificationDetail Structure

AuditSpecificationDetail Overload

Microsoft.SqlServer.Management.Smo Namespace