Dela via


SfcObjectExtender<TSfcInstance>.RegisterProperty Method (PropertyInfo, String)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Protected Sub RegisterProperty ( _
    propertyInfo As PropertyInfo, _
    parentPropertyName As String _
)
'Usage
Dim propertyInfo As PropertyInfo
Dim parentPropertyName As String

Me.RegisterProperty(propertyInfo, _
    parentPropertyName)
protected void RegisterProperty(
    PropertyInfo propertyInfo,
    string parentPropertyName
)
protected:
void RegisterProperty(
    PropertyInfo^ propertyInfo, 
    String^ parentPropertyName
)
member RegisterProperty : 
        propertyInfo:PropertyInfo * 
        parentPropertyName:string -> unit 
protected function RegisterProperty(
    propertyInfo : PropertyInfo, 
    parentPropertyName : String
)

Parameters

  • parentPropertyName
    Type: System.String
    The name of the parentProperty.