Condividi tramite


Costruttore AuditSpecificationDetail (AuditActionType, String, String)

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    action As AuditActionType, _
    objectName As String, _
    principal As String _
)
'Utilizzo
Dim action As AuditActionType 
Dim objectName As String 
Dim principal As String 

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

Parametri

  • objectName
    Tipo: System.String
    A String value that specifies the name of the object to monitor during the audit.
  • principal
    Tipo: System.String
    A String value that specifies the principal to monitor during the audit.

Vedere anche

Riferimento

AuditSpecificationDetail Struttura

Overload AuditSpecificationDetail

Spazio dei nomi Microsoft.SqlServer.Management.Smo