Delen via


CollectionLocationStepPerformer.GetCollectionBaseUri Method

Gets the base uri for the collection. e.g http://machineName:8080/Apps/TFS/Collection0.

Namespace:  Microsoft.TeamFoundation.Server.Core.Extensions
Assembly:  Microsoft.TeamFoundation.Server.Core.Extensions (in Microsoft.TeamFoundation.Server.Core.Extensions.dll)

Syntax

'Declaration
Public Shared Function GetCollectionBaseUri ( _
    targetRequestContext As TeamFoundationRequestContext, _
    servicingContext As ServicingContext _
) As Uri
public static Uri GetCollectionBaseUri(
    TeamFoundationRequestContext targetRequestContext,
    ServicingContext servicingContext
)
public:
static Uri^ GetCollectionBaseUri(
    TeamFoundationRequestContext^ targetRequestContext, 
    ServicingContext^ servicingContext
)
static member GetCollectionBaseUri : 
        targetRequestContext:TeamFoundationRequestContext * 
        servicingContext:ServicingContext -> Uri
public static function GetCollectionBaseUri(
    targetRequestContext : TeamFoundationRequestContext, 
    servicingContext : ServicingContext
) : Uri

Parameters

Return Value

Type: System.Uri
The base uri for the collection.

.NET Framework Security

See Also

Reference

CollectionLocationStepPerformer Class

Microsoft.TeamFoundation.Server.Core.Extensions Namespace