IRuntimeHelper.VerifyEntityInstanceReference Method (EntityInstanceReference, String)
Checks whether the given External ItemExternal Item reference references an External ItemExternal Item in an external system instance with the given name.
Namespace: Microsoft.BusinessData.Runtime
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function VerifyEntityInstanceReference ( _
reference As EntityInstanceReference, _
lobsystemInstanceName As String _
) As Boolean
'Usage
Dim instance As IRuntimeHelper
Dim reference As EntityInstanceReference
Dim lobsystemInstanceName As String
Dim returnValue As Boolean
returnValue = instance.VerifyEntityInstanceReference(reference, _
lobsystemInstanceName)
bool VerifyEntityInstanceReference(
EntityInstanceReference reference,
string lobsystemInstanceName
)
Parameters
reference
Type: Microsoft.BusinessData.Runtime.EntityInstanceReferenceThe reference to validate.
lobsystemInstanceName
Type: System.StringThe external system instance name.
Return Value
Type: System.Boolean
true if the External ItemExternal Item is from an external system instance with the given name; otherwise, false.