Namespace:  Microsoft.TeamFoundation.Framework.Common
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Function GetCollectionId ( _
    tfsUri As Uri _
) As String
string GetCollectionId(
    Uri tfsUri
)
String^ GetCollectionId(
    Uri^ tfsUri
)
abstract GetCollectionId : 
        tfsUri:Uri -> string
function GetCollectionId(
    tfsUri : Uri
) : String
Parameters
- tfsUri
 Type: System.Uri
Return Value
Type: System.String
Returns String.
.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.