Condividi tramite


Classe AuditExtender

Adds methods and properties to the Audit object.

Questa API non è conforme a CLS. 

Gerarchia di ereditarietà

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<Audit>
    Microsoft.SqlServer.Management.Smo.SmoObjectExtender<Audit>
      Microsoft.SqlServer.Management.Smo.AuditExtender

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<CLSCompliantAttribute(False)> _
Public Class AuditExtender _
    Inherits SmoObjectExtender(Of Audit) _
    Implements ISfcValidate
'Utilizzo
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

Nel tipo AuditExtender sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico AuditExtender() Adds methods and properties to the Audit object.
Metodo pubblico AuditExtender(Audit) Adds methods and properties to the Audit object.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica ConnectionContext Returns the connection context for the Audit object.
Proprietà protetta Parent Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Proprietà pubblica State Returns the state of the Audit object.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo protetto GetParentSfcPropertySet Returns an instance of the parent objects property set. Ereditato da SmoObjectExtender<T>.
Metodo pubblico GetPropertySet Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo protetto OnPropertyChanged Raises the PropertyChanged event when it has any subscriber. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo protetto OnPropertyMetadataChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo protetto parent_PropertyChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo protetto parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo protetto RegisterParentProperty Registers the property of the parent that has not been included in properties collection. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo protetto RegisterProperty(PropertyInfo) Registers an additional reflected property. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo protetto RegisterProperty(PropertyInfo, String) Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Metodo pubblico ToString Ereditato da Object.
Metodo pubblico Validate Validates the specified method with specified parameters for the audit.

In alto

Eventi

  Nome Descrizione
Evento pubblico PropertyChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.
Evento pubblico PropertyMetadataChanged Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Smo