Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the corresponding server item for the specified local item.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Shared Function TryGetServerItemForLocalItem ( _
localItem As String, _
folders As WorkingFolder() _
) As String
public static string TryGetServerItemForLocalItem(
string localItem,
WorkingFolder[] folders
)
public:
static String^ TryGetServerItemForLocalItem(
String^ localItem,
array<WorkingFolder^>^ folders
)
static member TryGetServerItemForLocalItem :
localItem:string *
folders:WorkingFolder[] -> string
public static function TryGetServerItemForLocalItem(
localItem : String,
folders : WorkingFolder[]
) : String
Parameters
- localItem
Type: System.String
The local path to the item.
- folders
Type: array<Microsoft.TeamFoundation.VersionControl.Client.WorkingFolder[]
The WorkingFolder objects that are used to translate the path.
Return Value
Type: System.String
The corresponding server item for the specified local item.
.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.