Initializes a new TeamFoundationServer object that is associated with the specified URI.
Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
声明
Public Sub New ( _
    uri As Uri _
)
public TeamFoundationServer(
    Uri uri
)
public:
TeamFoundationServer(
    Uri^ uri
)
new : 
        uri:Uri -> TeamFoundationServer
public function TeamFoundationServer(
    uri : Uri
)
Parameters
- uri
 Type: System.Uri
 The URI of the server.
.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.