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
- targetRequestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- servicingContext
Type: Microsoft.TeamFoundation.Framework.Server.ServicingContext
Return Value
Type: System.Uri
The base uri for the collection.
.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.