ServerAuditSpecificationExtender 类

Adds methods and properties to the ServerAuditSpecification object.

此 API 不符合 CLS。 符合 CLS 的替代项是 [false]。

继承层次结构

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<ServerAuditSpecification>
    Microsoft.SqlServer.Management.Smo.SmoObjectExtender<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<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<T> 继承。)
公共方法 GetPropertySet 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 OnPropertyChanged Raises the PropertyChanged event when it has any subscriber. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。)
受保护方法 OnPropertyMetadataChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。)
受保护方法 parent_PropertyChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。)
受保护方法 parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。)
受保护方法 RegisterParentProperty Registers the property of the parent that has not been included in properties collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。)
受保护方法 RegisterProperty(PropertyInfo) Registers an additional reflected property. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。)
受保护方法 RegisterProperty(PropertyInfo, String) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。)
公共方法 ToString (从 Object 继承。)
公共方法 Validate Validates the specified method with specified parameters for the server audit specification.

页首

事件

  名称 说明
公共事件 PropertyChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。)
公共事件 PropertyMetadataChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender<TSfcInstance> 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Smo 命名空间