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.StringThe display name of the property.
description
Type: System.StringThe description of the property.
displayType
Type: System.TypeThe type that describes how the property should be displayed.
propertyName
Type: System.StringThe name of the property in the metadata.
propertyType
Type: System.TypeThe type of the property in the metadata.
isRequired
Type: System.BooleanSpecifies 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