Condividi tramite


Classe DatabaseSnapshotExtender

Adds methods and properties to the DatabaseSnapshot object.

Questa API non è conforme a CLS. 

Gerarchia di ereditarietà

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<Database>
    Microsoft.SqlServer.Management.Smo.SmoObjectExtender<Database>
      Microsoft.SqlServer.Management.Smo.DatabaseSnapshotExtender

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

Sintassi

'Dichiarazione
<CLSCompliantAttribute(False)> _
Public Class DatabaseSnapshotExtender _
    Inherits SmoObjectExtender(Of Database) _
    Implements ISfcValidate
'Utilizzo
Dim instance As DatabaseSnapshotExtender
[CLSCompliantAttribute(false)]
public class DatabaseSnapshotExtender : SmoObjectExtender<Database>, 
    ISfcValidate
[CLSCompliantAttribute(false)]
public ref class DatabaseSnapshotExtender : public SmoObjectExtender<Database^>, 
    ISfcValidate
[<CLSCompliantAttribute(false)>]
type DatabaseSnapshotExtender =  
    class 
        inherit SmoObjectExtender<Database>
        interface ISfcValidate 
    end
public class DatabaseSnapshotExtender extends SmoObjectExtender<Database> implements ISfcValidate

Nel tipo DatabaseSnapshotExtender sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico DatabaseSnapshotExtender() Initializes a new instance of the DatabaseSnapshotExtender class that has the default property values.
Metodo pubblico DatabaseSnapshotExtender(Database) Initializes a new instance of the DatabaseSnapshotExtender class that has the database parameter specified.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Files Gets a collection of the data and log files that are associated with a database.
Proprietà protetta Parent Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. Ereditato da SfcObjectExtender<TSfcInstance>.

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 Indicates the changes on the parent property in the database. Esegue l'override di SfcObjectExtender<TSfcInstance>.parent_PropertyChanged(Object, PropertyChangedEventArgs).
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.

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

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato ISfcValidate.Validate Checks whether the DatabaseSnapshot object is properly configured.

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