SfcObjectExtender<TSfcInstance> Class
Allows adding the new properties and it also helps to establish dependency between extended property and the original one. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<TSfcInstance>
Microsoft.SqlServer.Management.Collector.CollectionSetExtender
Microsoft.SqlServer.Management.Dmf.ConditionExtender
Microsoft.SqlServer.Management.Dmf.PolicyExtender
Microsoft.SqlServer.Management.Smo.SmoObjectExtender<T>
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Class SfcObjectExtender(Of TSfcInstance As {New, ISfcPropertyProvider}) _
Implements ISfcPropertyProvider, INotifyPropertyChanged, ISfcNotifyPropertyMetadataChanged
'Usage
Dim instance As SfcObjectExtender(Of TSfcInstance)
public class SfcObjectExtender<TSfcInstance> : ISfcPropertyProvider,
INotifyPropertyChanged, ISfcNotifyPropertyMetadataChanged
where TSfcInstance : new(), ISfcPropertyProvider
generic<typename TSfcInstance>
where TSfcInstance : gcnew(), ISfcPropertyProvider
public ref class SfcObjectExtender : ISfcPropertyProvider,
INotifyPropertyChanged, ISfcNotifyPropertyMetadataChanged
type SfcObjectExtender<'TSfcInstance when 'TSfcInstance : new() and ISfcPropertyProvider> =
class
interface ISfcPropertyProvider
interface INotifyPropertyChanged
interface ISfcNotifyPropertyMetadataChanged
end
JScript does not support generic types and methods.
Type Parameters
- TSfcInstance
The parent object used as a base property provider.
The SfcObjectExtender<TSfcInstance> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SfcObjectExtender<TSfcInstance>() | Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
SfcObjectExtender<TSfcInstance>(TSfcInstance) | Initializes a new instance of the SfcObjectExtender<TSfcInstance> class with the specified parent. Do not reference this member directly in your code. It supports the SQL Server infrastructure. |
Top
Properties
Name | Description | |
---|---|---|
Parent | Do not reference this member directly in your code. It supports the SQL Server infrastructure. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetParentSfcPropertySet | Retrieves an instance of the parent's property set. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
GetPropertySet | Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnPropertyChanged | Raises the PropertyChanged event when it has any subscriber. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
OnPropertyMetadataChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
parent_PropertyChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
parent_PropertyMetadataChanged | Indicates the parent object in the PropertyMetadata. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
RegisterParentProperty | Registers the property of the parent that has not been included in properties collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
RegisterProperty(PropertyInfo) | Registers an additional reflected property. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
RegisterProperty(PropertyInfo, String) | Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
ToString | (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
PropertyMetadataChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.