AuditSpecificationDetail 构造函数 (AuditActionType, String, String)
Initializes a new instance of the AuditSpecificationDetail class for the specified action, object and principal.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub New ( _
action As AuditActionType, _
objectName As String, _
principal As String _
)
用法
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
)
参数
- action
类型:Microsoft.SqlServer.Management.Smo.AuditActionType
A AuditActionType object value that specifies the type of action 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.