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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.