SmoObjectExtender<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 : SqlSmoObject, new()
[<System.CLSCompliant(false)>]
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
- Derived
- Attributes
Constructors
| Name | Description |
|---|---|
| SmoObjectExtender<T>() |
default ctor |
| SmoObjectExtender<T>(T) |
ctor. Takes parent database object to aggregate on |
Properties
| Name | Description |
|---|---|
| Parent |
Parent object (Inherited from SfcObjectExtender<TSfcInstance>) |
Methods
| Name | Description |
|---|---|
| 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, 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
| Name | Description |
|---|---|
| PropertyChanged | (Inherited from SfcObjectExtender<TSfcInstance>) |
| PropertyMetadataChanged | (Inherited from SfcObjectExtender<TSfcInstance>) |