Freigeben über


TeamFoundationServiceHost.ApplicationServiceHost Property

Retrieves the application service host from the current host, if this host is an application or collection.

If it is a DeploymentServiceHost this property will return null.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public ReadOnly Property ApplicationServiceHost As TeamFoundationServiceHost
public TeamFoundationServiceHost ApplicationServiceHost { get; }
public:
property TeamFoundationServiceHost^ ApplicationServiceHost {
    TeamFoundationServiceHost^ get ();
}
member ApplicationServiceHost : TeamFoundationServiceHost with get
function get ApplicationServiceHost () : TeamFoundationServiceHost

Property Value

Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceHost
Returns TeamFoundationServiceHost.

.NET Framework Security

See Also

Reference

TeamFoundationServiceHost Class

Microsoft.TeamFoundation.Framework.Server Namespace