Dela via


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.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
Public method SfcObjectExtender<TSfcInstance>() Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method 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
Protected property Parent Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method 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.
Public method GetPropertySet Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method 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.
Protected method OnPropertyMetadataChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method parent_PropertyChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method 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.
Protected method RegisterProperty(PropertyInfo) Registers an additional reflected property. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method RegisterProperty(PropertyInfo, String) Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event PropertyChanged Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public event 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.