This documentation is archived and is not being maintained.

VersionControlArtifactProvider::GetArtifactType Method

Gets the type of the version control artifact that is associated with the specified URI.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public:
VersionControlArtifactType GetArtifactType(
	Uri^ artifactUri
)

Parameters

artifactUri
Type: System::Uri

The URI of the artifact of which the type is desired.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client::VersionControlArtifactType
The type of the version control artifact that is associated with the specified URI, or VersionControlArtifactType. Returns none if it does not represent a known version control artifact type.

Show: