VersionControlServer.GetTeamProjectsForServerPaths Method
Gets the TeamProject objects in the repository with the specified paths.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function GetTeamProjectsForServerPaths ( _
serverPaths As String() _
) As TeamProject()
public TeamProject[] GetTeamProjectsForServerPaths(
string[] serverPaths
)
public:
array<TeamProject^>^ GetTeamProjectsForServerPaths(
array<String^>^ serverPaths
)
member GetTeamProjectsForServerPaths :
serverPaths:string[] -> TeamProject[]
public function GetTeamProjectsForServerPaths(
serverPaths : String[]
) : TeamProject[]
Parameters
serverPaths
Type: array<System.String[]The server paths of the projects to get.
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Client.TeamProject[]
An array of TeamProject objects with the specified paths. Elements in the array will be null if a corresponding project was not found for specified path.
.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.