Share via


IRuntimeHelper.VerifyEntityInstanceReference Method (EntityInstanceReference, String, String)

Checks whether the given External ItemExternal Item reference references an External ItemExternal Item of the external content type with the given name and namespace.

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

Syntax

'Declaration
Function VerifyEntityInstanceReference ( _
    reference As EntityInstanceReference, _
    entityNamespace As String, _
    entityName As String _
) As Boolean
'Usage
Dim instance As IRuntimeHelper
Dim reference As EntityInstanceReference
Dim entityNamespace As String
Dim entityName As String
Dim returnValue As Boolean

returnValue = instance.VerifyEntityInstanceReference(reference, _
    entityNamespace, entityName)
bool VerifyEntityInstanceReference(
    EntityInstanceReference reference,
    string entityNamespace,
    string entityName
)

Parameters

  • entityNamespace
    Type: System.String

    The namespace of the external content type.

  • entityName
    Type: System.String

    The name of the external content type.

Return Value

Type: System.Boolean
true if the reference is from the external content type with the specified namespace and name; otherwise, false.

See Also

Reference

IRuntimeHelper Interface

IRuntimeHelper Members

VerifyEntityInstanceReference Overload

Microsoft.BusinessData.Runtime Namespace