Udostępnij za pośrednictwem


Metoda Workspace.TryGetWorkingFolderForServerItem — (String, array<WorkingFolder )

Pobiera wystąpienia WorkingFolder, które w tym artykule opisano, jak wskazane obiekty WorkingFolder mapa elementu serwera.

Przestrzeń nazw:  Microsoft.TeamFoundation.VersionControl.Client
Zestaw:  Microsoft.TeamFoundation.VersionControl.Client (w Microsoft.TeamFoundation.VersionControl.Client.dll)

Składnia

'Deklaracja
Public Shared Function TryGetWorkingFolderForServerItem ( _
    serverItem As String, _
    folders As WorkingFolder() _
) As WorkingFolder
public static WorkingFolder TryGetWorkingFolderForServerItem(
    string serverItem,
    WorkingFolder[] folders
)

Parametry

  • serverItem
    Typ: System.String
    Ścieżka serwera, która mapa dostarczonego obiektów WorkingFolder.

Wartość zwracana

Typ: Microsoft.TeamFoundation.VersionControl.Client.WorkingFolder
Wystąpienie WorkingFolder, które w tym artykule opisano, jak wskazane obiekty WorkingFolder mapowania ścieżki serwera.Wartość NULL, jeśli nie jest mapowana ścieżka serwera.

Uwagi

Po raz pierwszy wysłane w Visual Studio Team Foundation Server 2005

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

Workspace Klasa

Przeciążenie TryGetWorkingFolderForServerItem

Przestrzeń nazw Microsoft.TeamFoundation.VersionControl.Client