Поделиться через


ITeamProjectPickerDefaultSelectionProvider.GetDefaultCollectionId Method

Gets the default selected collection of the specified server.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Function GetDefaultCollectionId ( _
    instanceUri As Uri _
) As Nullable(Of Guid)
Nullable<Guid> GetDefaultCollectionId(
    Uri instanceUri
)
Nullable<Guid> GetDefaultCollectionId(
    Uri^ instanceUri
)
abstract GetDefaultCollectionId : 
        instanceUri:Uri -> Nullable<Guid> 
function GetDefaultCollectionId(
    instanceUri : Uri
) : Nullable<Guid>

Parameters

  • instanceUri
    Type: System.Uri

    The URI for the configuration server.

Return Value

Type: System.Nullable<Guid>
The GUID of the default selected collection.

.NET Framework Security

See Also

Reference

ITeamProjectPickerDefaultSelectionProvider Interface

Microsoft.TeamFoundation.Client Namespace