SmoObjectExtender<T> Class

Definition

Important

This API is not CLS-compliant.

Extender class for Smo Objects

[System.CLSCompliant(false)]
public class SmoObjectExtender<T> : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<T> where T : SqlSmoObjectnew()
type SmoObjectExtender<'T (requires 'T :> SqlSmoObject and 'T : (new : unit -> 'T))> = class
    inherit SfcObjectExtender<'T (requires 'T :> SqlSmoObject and 'T : (new : unit -> 'T))>
Public Class SmoObjectExtender(Of T)
Inherits SfcObjectExtender(Of T)

Type Parameters

T
Inheritance
SmoObjectExtender<T>
Derived
Attributes

Constructors

SmoObjectExtender<T>()

default ctor

SmoObjectExtender<T>(T)

ctor. Takes parent database object to aggregate on

Properties

Parent

Parent object

(Inherited from SfcObjectExtender<TSfcInstance>)

Methods

GetParentSfcPropertySet()
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) (Inherited from SfcObjectExtender<TSfcInstance>)
parent_PropertyMetadataChanged(Object, SfcPropertyMetadataChangedEventArgs) (Inherited from SfcObjectExtender<TSfcInstance>)
PropagateAlterToChildren(StringCollection, Boolean)

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

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)

Register an additional reflected property

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

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

(Inherited from SfcObjectExtender<TSfcInstance>)

Events

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

Applies to