Share via


AdministrableProperty Constructor

Constructs a new instance of the class.

Namespace:  Microsoft.BusinessData.Runtime
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Public Sub New ( _
    displayName As String, _
    description As String, _
    displayType As Type, _
    propertyName As String, _
    propertyType As Type, _
    isRequired As Boolean _
)
'Usage
Dim displayName As String
Dim description As String
Dim displayType As Type
Dim propertyName As String
Dim propertyType As Type
Dim isRequired As Boolean

Dim instance As New AdministrableProperty(displayName, _
    description, displayType, propertyName, _
    propertyType, isRequired)
public AdministrableProperty(
    string displayName,
    string description,
    Type displayType,
    string propertyName,
    Type propertyType,
    bool isRequired
)

Parameters

  • displayName
    Type: System.String

    The display name of the property.

  • description
    Type: System.String

    The description of the property.

  • displayType
    Type: System.Type

    The type that describes how the property should be displayed.

  • propertyName
    Type: System.String

    The name of the property in the metadata.

  • propertyType
    Type: System.Type

    The type of the property in the metadata.

  • isRequired
    Type: System.Boolean

    Specifies if this property is required for the connector to function.

Remarks

The displayType parameter describes how the property should be displayed. For example, the propertyType may be a string but the displayType can be of type an enumeration. In this case, the configuration UI can display a set of acceptable values for the property.

Examples

Code Snippet: Implementing a Custom Connector

See Also

Reference

AdministrableProperty Class

AdministrableProperty Members

Microsoft.BusinessData.Runtime Namespace