Share via


DatabaseAuditSpecificationExtender 類別

Adds methods and properties to the DatabaseAuditSpecification object.

此 API 不符合 CLS 標準。 

繼承階層

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectExtender< (Of < ( <'DatabaseAuditSpecification> ) > ) >
    Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectExtender< (Of < ( <'DatabaseAuditSpecification> ) > ) >
      Microsoft.SqlServer.Management.Smo..::..DatabaseAuditSpecificationExtender

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

語法

'宣告
<CLSCompliantAttribute(False)> _
Public Class DatabaseAuditSpecificationExtender _
    Inherits SmoObjectExtender(Of DatabaseAuditSpecification) _
    Implements ISfcValidate
'用途
Dim instance As DatabaseAuditSpecificationExtender
[CLSCompliantAttribute(false)]
public class DatabaseAuditSpecificationExtender : SmoObjectExtender<DatabaseAuditSpecification>, 
    ISfcValidate
[CLSCompliantAttribute(false)]
public ref class DatabaseAuditSpecificationExtender : public SmoObjectExtender<DatabaseAuditSpecification^>, 
    ISfcValidate
[<CLSCompliantAttribute(false)>]
type DatabaseAuditSpecificationExtender =  
    class
        inherit SmoObjectExtender<DatabaseAuditSpecification>
        interface ISfcValidate
    end
public class DatabaseAuditSpecificationExtender extends SmoObjectExtender<DatabaseAuditSpecification> implements ISfcValidate

DatabaseAuditSpecificationExtender 型別公開下列成員。

建構函式

  名稱 說明
公用方法 DatabaseAuditSpecificationExtender() () () () Adds methods and properties to the DatabaseAuditSpecification object.
公用方法 DatabaseAuditSpecificationExtender(DatabaseAuditSpecification) Adds methods and properties to the specified DatabaseAuditSpecification object.

上層

屬性

  名稱 說明
公用屬性 Audits Gets a StringCollection.
公用屬性 AuditSpecificationDetails Gets or sets a Datatable.
公用屬性 ConnectionContext Returns the connection context for the DatabaseAuditSpecification object.
公用屬性 DatabaseName Gets the name of the database associated with the DatabaseAuditSpecification object.
公用屬性 GridValidationState Gets or sets a ValidationState object.
受保護的屬性 Parent 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
公用屬性 State Returns the state of the DatabaseAuditSpecification object.
公用屬性 Type Gets the type of DatabaseAuditSpecification object.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
受保護的方法 GetParentSfcPropertySet Returns an instance of the parent objects property set. (繼承自 SmoObjectExtender< (Of < ( <'T> ) > ) >。)
公用方法 GetPropertySet 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
受保護的方法 OnPropertyChanged Raises the PropertyChanged event when it has any subscriber. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
受保護的方法 OnPropertyMetadataChanged 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
受保護的方法 parent_PropertyChanged 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
受保護的方法 parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
受保護的方法 RegisterParentProperty Registers the property of the parent that has not been included in properties collection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
受保護的方法 RegisterProperty(PropertyInfo) Registers an additional reflected property. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
受保護的方法 RegisterProperty(PropertyInfo, String) 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
公用方法 ToString (繼承自 Object。)
公用方法 Validate Validates the specified method with specified parameters for the database audit specification.

上層

事件

  名稱 說明
公用事件 PropertyChanged 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
公用事件 PropertyMetadataChanged 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。