This documentation is archived and is not being maintained.

IsOutlookClient Function

Forefront
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Checks whether the form is shown on either Microsoft Dynamics CRM for Microsoft Office Outlook or Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access.

Usage

IsOutlookClient()

Parameters

None

Returns

A Boolean value that is true if the form is shown on either Microsoft Dynamics CRM for Microsoft Office Outlook or Microsoft Dynamics CRM for Microsoft Office Outlook with Offline Access. Otherwise, returns false.

Example

if (IsOutlookClient())
{
 alert("You are using Microsoft Dynamics CRM for Outlook");
}
else
{
 alert("You are using the Web client");
}

See Also

Concepts

Other Resources


© 2010 Microsoft Corporation. All rights reserved.


Show: