다음을 통해 공유


AuditSpecificationDetail 생성자 (AuditActionType, String, String, String, String)

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub New ( _
    action As AuditActionType, _
    objectClass As String, _
    objectSchema As String, _
    objectName As String, _
    principal As String _
)
‘사용 방법
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
)

매개 변수

  • objectClass
    유형: System.String
    A String value that specifies the class of the object to monitor during the audit.
  • objectSchema
    유형: System.String
    A String value that specifies the schema of the object to monitor during the audit.
  • objectName
    유형: System.String
    A String value that specifies the name of the object to monitor during the audit.
  • principal
    유형: System.String
    A String value that specifies the principal to monitor during the audit.

참고 항목

참조

AuditSpecificationDetail 구조

AuditSpecificationDetail 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스