Freigeben über


AuditSpecificationDetail-Konstruktor (AuditActionType, String, String, String, String)

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub New ( _
    action As AuditActionType, _
    objectClass As String, _
    objectSchema As String, _
    objectName As String, _
    principal As String _
)
'Usage
Dim action As AuditActionType
Dim objectClass As String
Dim objectSchema As String
Dim objectName As String
Dim principal As String

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