共用方式為


RegisterProperty 方法 (PropertyInfo, String)

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Protected Sub RegisterProperty ( _
    propertyInfo As PropertyInfo, _
    parentPropertyName As String _
)
'用途
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
)

參數