共用方式為


AuditSpecificationDetail 建構函式 (AuditActionType, String, String, String)

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub New ( _
    action As AuditActionType, _
    objectSchema As String, _
    objectName As String, _
    principal As String _
)
'用途
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
)

參數