ISystemPropertyValidator.ValidateLobSystemProperty Method
Validates an external system property.
Namespace: Microsoft.BusinessData.Runtime
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Sub ValidateLobSystemProperty ( _
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.ValidateLobSystemProperty(name, _
value, metadataObjectName, metadataObjectType)
void ValidateLobSystemProperty(
string name,
ref Object value,
string metadataObjectName,
Type metadataObjectType
)
Parameters
name
Type: System.StringThe name of the property.
value
Type: System.ObjectThe property value.
metadataObjectName
Type: System.StringThe name of the metadata object.
metadataObjectType
Type: System.TypeThe 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