Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

VersionControlServer.ServerItemExists Method (String, ItemType)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Checks to see if the item of the specified path and type exists in the repository.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public function ServerItemExists(
	path : String, 
	itemType : ItemType
) : boolean


Type: System.String

The path of the item to check for, may be server or local.

Type: Microsoft.TeamFoundation.VersionControl.Client.ItemType

The ItemType of the item.

Return Value

Type: System.Boolean
True if the specified item is in the repository. False otherwise.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.