Share via


ServerAuditSpecificationExtender 類別

Adds methods and properties to the ServerAuditSpecification object.

此 API 不符合 CLS 標準。 符合 CLS 標準的替代項目是 [false]。

繼承階層

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

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

語法

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

ServerAuditSpecificationExtender 型別公開下列成員。

建構函式

  名稱 說明
公用方法 ServerAuditSpecificationExtender() () () () Adds methods and properties to the ServerAuditSpecification object with the default property values.
公用方法 ServerAuditSpecificationExtender(ServerAuditSpecification) Adds methods and properties to the specified ServerAuditSpecification object.

上層

屬性

  名稱 說明
公用屬性 Audits Gets the collection of objects in the server extender.
公用屬性 AuditSpecificationDetails Gets or sets the specification details after auditing.
公用屬性 ConnectionContext Returns the connection context for the ServerAuditSpecification object.
公用屬性 DatabaseName Gets the specified name of the database.
公用屬性 GridValidationState Gets or sets the current status of the validation.
受保護的屬性 Parent 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 (繼承自 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >。)
公用屬性 State Returns the state of the ServerAuditSpecification object.
公用屬性 Type Gets the type of ServerAuditSpecification 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 server audit specification.

上層

事件

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

上層

執行緒安全性

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