Construtor AuditSpecificationDetail (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 (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub New ( _
action As AuditActionType, _
objectSchema As String, _
objectName As String, _
principal As String _
)
'Uso
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
)
Parâmetros
- action
Tipo: Microsoft.SqlServer.Management.Smo.AuditActionType
A AuditActionType object value that specifies the type of action to track during the audit.
- objectSchema
Tipo: System.String
A String value that specifies the schema of the object to monitor during the audit.
- 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.
Consulte também
Referência
AuditSpecificationDetail Estrutura