Partager via


ApplicationHost.GetApplication Method

Definition

Overloads

GetApplication(Guid)

Retrieves the application instance for a given application ID..

GetApplication(String)

Retrieves the application instance for a given application name

GetApplication(Guid)

Retrieves the application instance for a given application ID..

public:
 virtual Microsoft::Uii::Csr::IHostedApplication ^ GetApplication(Guid applicationID);
public virtual Microsoft.Uii.Csr.IHostedApplication GetApplication (Guid applicationID);
abstract member GetApplication : Guid -> Microsoft.Uii.Csr.IHostedApplication
override this.GetApplication : Guid -> Microsoft.Uii.Csr.IHostedApplication
Public Overridable Function GetApplication (applicationID As Guid) As IHostedApplication

Parameters

applicationID
Guid

Specifies the application ID

Returns

An IHostedApplication or null

Applies to

GetApplication(String)

Retrieves the application instance for a given application name

public:
 virtual Microsoft::Uii::Csr::IHostedApplication ^ GetApplication(System::String ^ applicationName);
public virtual Microsoft.Uii.Csr.IHostedApplication GetApplication (string applicationName);
abstract member GetApplication : string -> Microsoft.Uii.Csr.IHostedApplication
override this.GetApplication : string -> Microsoft.Uii.Csr.IHostedApplication
Public Overridable Function GetApplication (applicationName As String) As IHostedApplication

Parameters

applicationName
String

Specifies the application name

Returns

An IHostedApplication or null

Applies to