共用方式為


Workspace.TryGetServerItemForLocalItem Method

Include Protected Members
Include Inherited Members

Gets the corresponding server item for the specified local item.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method TryGetServerItemForLocalItem(String) Gets the corresponding server item for the specified local item. Does not throw exceptions.
Public methodStatic member TryGetServerItemForLocalItem(String, array<WorkingFolder[]) Gets the corresponding server item for the specified local item.
Public method TryGetServerItemForLocalItem(String, Boolean) Gets the corresponding server item for a local item. Does not throw ItemNotMappedException or ItemCloakedException.
Public methodStatic member TryGetServerItemForLocalItem(String, array<WorkingFolder[], Boolean) Gets the corresponding server item for a local item. Does not throw ItemNotMappedException or ItemCloakedException.

Top

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace