Compartir a través de


Clase DatabaseSnapshotExtender

Adds methods and properties to the DatabaseSnapshot object.

Esta API no es compatible con CLS. 

Jerarquía de herencia

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<CLSCompliantAttribute(False)> _
Public Class DatabaseSnapshotExtender _
    Inherits SmoObjectExtender(Of Database) _
    Implements ISfcValidate
'Uso
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

El tipo DatabaseSnapshotExtender expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público DatabaseSnapshotExtender() Initializes a new instance of the DatabaseSnapshotExtender class that has the default property values.
Método público DatabaseSnapshotExtender(Database) Initializes a new instance of the DatabaseSnapshotExtender class that has the database parameter specified.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Files Gets a collection of the data and log files that are associated with a database.
Propiedad protegida Parent No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcObjectExtender<TSfcInstance>.)

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método protegido GetParentSfcPropertySet Returns an instance of the parent objects property set. (Se hereda de SmoObjectExtender<T>.)
Método público GetPropertySet No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcObjectExtender<TSfcInstance>.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método protegido OnPropertyChanged Raises the PropertyChanged event when it has any subscriber. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcObjectExtender<TSfcInstance>.)
Método protegido OnPropertyMetadataChanged No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcObjectExtender<TSfcInstance>.)
Método protegido parent_PropertyChanged Indicates the changes on the parent property in the database. (Invalida SfcObjectExtender<TSfcInstance>.parent_PropertyChanged(Object, PropertyChangedEventArgs).)
Método protegido parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcObjectExtender<TSfcInstance>.)
Método protegido RegisterParentProperty Registers the property of the parent that has not been included in properties collection. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcObjectExtender<TSfcInstance>.)
Método protegido RegisterProperty(PropertyInfo) Registers an additional reflected property. No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcObjectExtender<TSfcInstance>.)
Método protegido RegisterProperty(PropertyInfo, String) No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcObjectExtender<TSfcInstance>.)
Método público ToString (Se hereda de Object.)

Arriba

Eventos

  Nombre Descripción
Evento público PropertyChanged No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcObjectExtender<TSfcInstance>.)
Evento público PropertyMetadataChanged No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server. (Se hereda de SfcObjectExtender<TSfcInstance>.)

Arriba

Implementaciones de interfaces explícitas

  Nombre Descripción
Implementación de interfaces explícitasMétodo privado ISfcValidate.Validate Checks whether the DatabaseSnapshot object is properly configured.

Arriba

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Management.Smo