TeamFoundationServiceHost.CollectionServiceHost Property
Retrieves the collection service host from the current host.
If this host is not a collection it will search up the host chain to find it. If one isnt found, it will return null.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public ReadOnly Property CollectionServiceHost As TeamFoundationServiceHost
public TeamFoundationServiceHost CollectionServiceHost { get; }
public:
property TeamFoundationServiceHost^ CollectionServiceHost {
TeamFoundationServiceHost^ get ();
}
member CollectionServiceHost : TeamFoundationServiceHost with get
function get CollectionServiceHost () : 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.