OrganizationServiceContextUtility.TryGetWebsiteIDFromParentLinkForEntityInPendingChanges Method (OrganizationServiceContext, Entity, String, EntityReference)
Applies To: Dynamics CRM 2015
For internal use only.
Namespace: Microsoft.Xrm.Client
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static bool TryGetWebsiteIDFromParentLinkForEntityInPendingChanges(
OrganizationServiceContext context,
Entity entity,
string sourceEntityName,
out EntityReference websiteID
)
public:
static bool TryGetWebsiteIDFromParentLinkForEntityInPendingChanges(
OrganizationServiceContext^ context,
Entity^ entity,
String^ sourceEntityName,
[OutAttribute] EntityReference^% websiteID
)
static member TryGetWebsiteIDFromParentLinkForEntityInPendingChanges :
context:OrganizationServiceContext *
entity:Entity *
sourceEntityName:string *
websiteID:EntityReference byref -> bool
Public Shared Function TryGetWebsiteIDFromParentLinkForEntityInPendingChanges (
context As OrganizationServiceContext,
entity As Entity,
sourceEntityName As String,
<OutAttribute> ByRef websiteID As EntityReference
) As Boolean
Parameters
context
Type: Microsoft.Xrm.Sdk.Client.OrganizationServiceContextType: OrganizationServiceContext. The context.
entity
Type: Microsoft.Xrm.Sdk.EntityType: Entity. The entity.
sourceEntityName
Type: System.StringType: String. The logical name of the source entity.
websiteID
Type: Microsoft.Xrm.Sdk.EntityReferenceType: EntityReference.
Return Value
Type: System.Boolean
Type: Boolean
.
See Also
OrganizationServiceContextUtility Class
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2015
Return to top
© 2017 Microsoft. All rights reserved. Copyright