Share via


ISystemPropertyValidator.ValidateLobSystemInstanceProperty Method

Validates an external system instance property.

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

Syntax

'Declaration
Sub ValidateLobSystemInstanceProperty ( _
    name As String, _
    ByRef value As Object, _
    metadataObjectName As String, _
    metadataObjectType As Type _
)
'Usage
Dim instance As ISystemPropertyValidator
Dim name As String
Dim value As Object
Dim metadataObjectName As String
Dim metadataObjectType As Type

instance.ValidateLobSystemInstanceProperty(name, _
    value, metadataObjectName, metadataObjectType)
void ValidateLobSystemInstanceProperty(
    string name,
    ref Object value,
    string metadataObjectName,
    Type metadataObjectType
)

Parameters

  • metadataObjectName
    Type: System.String

    The name of the metadata object.

  • metadataObjectType
    Type: System.Type

    The type of the metadata object.

Remarks

This method validates the given property value. If the property value is invalid, this function should throw an InvalidMetadataPropertyException. This function can change the given property value.

See Also

Reference

ISystemPropertyValidator Interface

ISystemPropertyValidator Members

Microsoft.BusinessData.Runtime Namespace