Classe DatabaseAuditSpecificationExtender

Adds methods and properties to the DatabaseAuditSpecification object.

Cette API n'est pas conforme CLS. 

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<CLSCompliantAttribute(False)> _
Public Class DatabaseAuditSpecificationExtender _
    Inherits SmoObjectExtender(Of DatabaseAuditSpecification) _
    Implements ISfcValidate
'Utilisation
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

Le type DatabaseAuditSpecificationExtender expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DatabaseAuditSpecificationExtender() () () () Adds methods and properties to the DatabaseAuditSpecification object.
Méthode publique DatabaseAuditSpecificationExtender(DatabaseAuditSpecification) Adds methods and properties to the specified DatabaseAuditSpecification object.

Haut de la page

Propriétés

  Nom Description
Propriété publique Audits Gets a StringCollection.
Propriété publique AuditSpecificationDetails Gets or sets a Datatable.
Propriété publique ConnectionContext Returns the connection context for the DatabaseAuditSpecification object.
Propriété publique DatabaseName Gets the name of the database associated with the DatabaseAuditSpecification object.
Propriété publique GridValidationState Gets or sets a ValidationState object.
Propriété protégée Parent Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Propriété publique State Returns the state of the DatabaseAuditSpecification object.
Propriété publique Type Gets the type of DatabaseAuditSpecification object.

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode protégée GetParentSfcPropertySet Returns an instance of the parent objects property set. (hérité de SmoObjectExtender< (Of < ( <'T> ) > ) >.)
Méthode publique GetPropertySet Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode protégée OnPropertyChanged Raises the PropertyChanged event when it has any subscriber. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Méthode protégée OnPropertyMetadataChanged Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Méthode protégée parent_PropertyChanged Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Méthode protégée parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Méthode protégée RegisterParentProperty Registers the property of the parent that has not been included in properties collection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Méthode protégée RegisterProperty(PropertyInfo) Registers an additional reflected property. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Méthode protégée RegisterProperty(PropertyInfo, String) Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Méthode publique ToString (hérité de Object.)
Méthode publique Validate Validates the specified method with specified parameters for the database audit specification.

Haut de la page

Événements

  Nom Description
Événement public PropertyChanged Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)
Événement public PropertyMetadataChanged Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) >.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.