Share via


ServerAuditSpecificationExtender Class

Adds methods and properties to the ServerAuditSpecification object.

This API is not CLS-compliant. The CLS-compliant alternative is [false].

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<ServerAuditSpecification>
    Microsoft.SqlServer.Management.Smo.SmoObjectExtender<ServerAuditSpecification>
      Microsoft.SqlServer.Management.Smo.ServerAuditSpecificationExtender

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Class ServerAuditSpecificationExtender _
    Inherits SmoObjectExtender(Of ServerAuditSpecification) _
    Implements ISfcValidate
'Usage
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

The ServerAuditSpecificationExtender type exposes the following members.

Constructors

  Name Description
Public method ServerAuditSpecificationExtender() Adds methods and properties to the ServerAuditSpecification object with the default property values.
Public method ServerAuditSpecificationExtender(ServerAuditSpecification) Adds methods and properties to the specified ServerAuditSpecification object.

Top

Properties

  Name Description
Public property Audits Gets the collection of objects in the server extender.
Public property AuditSpecificationDetails Gets or sets the specification details after auditing.
Public property ConnectionContext Returns the connection context for the ServerAuditSpecification object.
Public property DatabaseName Gets the specified name of the database.
Public property GridValidationState Gets or sets the current status of the validation.
Protected property Parent Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public property State Returns the state of the ServerAuditSpecification object.
Public property Type Gets the type of ServerAuditSpecification object.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetParentSfcPropertySet Returns an instance of the parent objects property set. (Inherited from SmoObjectExtender<T>.)
Public method GetPropertySet Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnPropertyChanged Raises the PropertyChanged event when it has any subscriber. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method OnPropertyMetadataChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method parent_PropertyChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method RegisterParentProperty Registers the property of the parent that has not been included in properties collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method RegisterProperty(PropertyInfo) Registers an additional reflected property. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Protected method RegisterProperty(PropertyInfo, String) Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public method ToString (Inherited from Object.)
Public method Validate Validates the specified method with specified parameters for the server audit specification.

Top

Events

  Name Description
Public event PropertyChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)
Public event PropertyMetadataChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.