Udostępnij za pośrednictwem


DynamicsBaseHostedControl.GetApp Method

Obtains a reference to the specified hosted control by name, on the same session as this hosted control.

Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Usage

'Usage
Dim appname As String
Dim returnValue As IHostedApplication

returnValue = Me.GetApp(appname)

Syntax

'Declaration
Protected Overridable Function GetApp ( _
    appname As String _
) As IHostedApplication
protected virtual IHostedApplication GetApp (
    string appname
)
protected:
virtual IHostedApplication^ GetApp (
    String^ appname
)
protected IHostedApplication GetApp (
    String appname
)
protected function GetApp (
    appname : String
) : IHostedApplication

Parameters

  • appname
    The name of the hosted control as configured in CRM

Return Value

Reference to the application

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

DynamicsBaseHostedControl Class
DynamicsBaseHostedControl Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.