共用方式為


AuditSpecification.AddAuditSpecificationDetail 方法 (ICollection<AuditSpecificationDetail>)

An AuditSpecificationDetail object that specifies the details of the audit specification.

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

語法

'宣告
Public Sub AddAuditSpecificationDetail ( _
    auditSpecificationDetails As ICollection(Of AuditSpecificationDetail) _
)
'用途
Dim instance As AuditSpecification 
Dim auditSpecificationDetails As ICollection(Of AuditSpecificationDetail)

instance.AddAuditSpecificationDetail(auditSpecificationDetails)
public void AddAuditSpecificationDetail(
    ICollection<AuditSpecificationDetail> auditSpecificationDetails
)
public:
void AddAuditSpecificationDetail(
    ICollection<AuditSpecificationDetail>^ auditSpecificationDetails
)
member AddAuditSpecificationDetail : 
        auditSpecificationDetails:ICollection<AuditSpecificationDetail> -> unit
public function AddAuditSpecificationDetail(
    auditSpecificationDetails : ICollection<AuditSpecificationDetail>
)

參數

請參閱

參考

AuditSpecification 類別

AddAuditSpecificationDetail 多載

Microsoft.SqlServer.Management.Smo 命名空間