DevForce Help Reference
GetEntityRelation(String,Boolean) Method


True to use a non-namespace qualified relation name search
Returns the first EntityRelation having the specified relation name.
Syntax
'Declaration
 
Public Overloads Shared Function GetEntityRelation( _
   ByVal relationName As String, _
   ByVal useShortName As Boolean _
) As EntityRelation
'Usage
 
Dim relationName As String
Dim useShortName As Boolean
Dim value As EntityRelation
 
value = EntityRelation.GetEntityRelation(relationName, useShortName)
public static EntityRelation GetEntityRelation( 
   string relationName,
   bool useShortName
)

Parameters

relationName
useShortName
True to use a non-namespace qualified relation name search
Remarks
Search for an EntityRelation by either its namespace-qualified RelationName or its Name.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityRelation Class
EntityRelation Members
Overload List

Send Feedback