IVsTeamExplorer.SetCurrentServerAndProject Method
Sets the specified server and project as the currently active server and project.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Declaration
Sub SetCurrentServerAndProject ( _
serverUrl As String, _
projectName As String, _
projectUri As String _
)
void SetCurrentServerAndProject(
string serverUrl,
string projectName,
string projectUri
)
void SetCurrentServerAndProject(
String^ serverUrl,
String^ projectName,
String^ projectUri
)
abstract SetCurrentServerAndProject :
serverUrl:string *
projectName:string *
projectUri:string -> unit
function SetCurrentServerAndProject(
serverUrl : String,
projectName : String,
projectUri : String
)
Parameters
serverUrl
Type: System.StringThe URL of the server.
projectName
Type: System.StringThe project name.
projectUri
Type: System.StringThe project URI.
.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.