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
- 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.