Freigeben über


Workspace.TryGetServerItemForLocalItem Method (String, array<WorkingFolder )

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

Return Value

Type: System.String
The corresponding server item for the specified local item.

Remarks

First shipped in Visual Studio Team Foundation Server 2005

.NET Framework Security

See Also

Reference

Workspace Class

TryGetServerItemForLocalItem Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace