共用方式為


DatabaseSnapshotExtender Class

Definition

Important

This API is not CLS-compliant.

Extender class for Database Snapshot

[System.CLSCompliant(false)]
public class DatabaseSnapshotExtender : Microsoft.SqlServer.Management.Smo.SmoObjectExtender<Microsoft.SqlServer.Management.Smo.Database>, Microsoft.SqlServer.Management.Sdk.Sfc.ISfcValidate
[<System.CLSCompliant(false)>]
type DatabaseSnapshotExtender = class
    inherit SmoObjectExtender<Database>
    interface ISfcValidate
Public Class DatabaseSnapshotExtender
Inherits SmoObjectExtender(Of Database)
Implements ISfcValidate
Inheritance
DatabaseSnapshotExtender
Attributes
Implements

Constructors

DatabaseSnapshotExtender()

default ctor

DatabaseSnapshotExtender(Database)

ctor. Takes parent database object to aggregate on

Properties

Files
Parent

Parent object

(Inherited from SfcObjectExtender<TSfcInstance>)

Methods

GetParentSfcPropertySet() (Inherited from SmoObjectExtender<T>)
GetPropertySet()

returns collection of the properties

(Inherited from SfcObjectExtender<TSfcInstance>)
OnPropertyChanged(String)

Fires PropertyChanged event, when it has any subscriber

(Inherited from SfcObjectExtender<TSfcInstance>)
OnPropertyMetadataChanged(String)

Fires PropertyMetadataChanged event, when it has any subscriber

(Inherited from SfcObjectExtender<TSfcInstance>)
parent_PropertyChanged(Object, PropertyChangedEventArgs)
parent_PropertyMetadataChanged(Object, SfcPropertyMetadataChangedEventArgs) (Inherited from SfcObjectExtender<TSfcInstance>)
PropagateAlterToChildren(StringCollection, Boolean)

Adds the Alter script of the child objects to the script.

(Inherited from SmoObjectExtender<T>)
RegisterParentProperty(PropertyInfo)

Register property of the parent, that has not been included in properties collection (like 'Name' in SMO or collections

(Inherited from SfcObjectExtender<TSfcInstance>)
RegisterProperty(PropertyInfo, String)

Register an additional reflected property, dependant on the property from the parent object

(Inherited from SfcObjectExtender<TSfcInstance>)
RegisterProperty(PropertyInfo)

Register an additional reflected property

(Inherited from SfcObjectExtender<TSfcInstance>)

Events

PropertyChanged (Inherited from SfcObjectExtender<TSfcInstance>)
PropertyMetadataChanged (Inherited from SfcObjectExtender<TSfcInstance>)

Explicit Interface Implementations

ISfcValidate.Validate(String, Object[])

Applies to