Export (0) Print
Expand All

VersionControlServer.ServerItemExists Method (String, ItemType)

Returns true if the server item of the specified type is in the database.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public bool ServerItemExists (
	string path,
	ItemType itemType
)
public boolean ServerItemExists (
	String path, 
	ItemType itemType
)
public function ServerItemExists (
	path : String, 
	itemType : ItemType
) : boolean

Parameters

path

The path to check, may be server or local.

itemType

The type of the item.

Return Value

true if the item is in the database; otherwise false.

Community Additions

ADD
Show:
© 2014 Microsoft