Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Dynamics CRM 2013
Returns an OrganizationServiceContextInfo from a custom OrganizationServiceContext class and an entity.
Namespace:   Microsoft.Xrm.Client.Metadata
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static bool TryGet(
    OrganizationServiceContext context,
    Entity entity,
    out EntitySetInfo entitySetInfo
)
public:
static bool TryGet(
    OrganizationServiceContext^ context,
    Entity^ entity,
    [OutAttribute] EntitySetInfo^% entitySetInfo
)
static member TryGet : 
        context:OrganizationServiceContext *
        entity:Entity *
        entitySetInfo:EntitySetInfo byref -> bool
Public Shared Function TryGet (
    context As OrganizationServiceContext,
    entity As Entity,
    <OutAttribute> ByRef entitySetInfo As EntitySetInfo
) As Boolean
Parameters
- context
 Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContext
- entity
 Type: Microsoft.Xrm.Sdk.Entity
- entitySetInfo
 Type: Microsoft.Xrm.Client.Metadata.EntitySetInfo
Return Value
Type: System.Boolean
Type: Boolean
true if there is a return value for the specified parameters; otherwise false.
See Also
TryGet Overload
OrganizationServiceContextInfo Class
Microsoft.Xrm.Client.Metadata Namespace
Return to top