Share via


AuditExtender 類別

Adds methods and properties to the Audit object.

此 API 不符合 CLS 標準。 

繼承階層

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

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

語法

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

AuditExtender 型別公開下列成員。

建構函式

  名稱 說明
公用方法 AuditExtender() () () () Adds methods and properties to the Audit object.
公用方法 AuditExtender(Audit) Adds methods and properties to the Audit object.

上層

屬性

  名稱 說明
公用屬性 ConnectionContext Returns the connection context for the Audit object.
受保護的屬性 Parent 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
公用屬性 State Returns the state of the Audit 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 audit.

上層

事件

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

上層

執行緒安全性

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