Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Function GetArtifactType ( _
artifactUri As Uri _
) As VersionControlArtifactType
public VersionControlArtifactType GetArtifactType(
Uri artifactUri
)
public:
VersionControlArtifactType GetArtifactType(
Uri^ artifactUri
)
member GetArtifactType :
artifactUri:Uri -> VersionControlArtifactType
public function GetArtifactType(
artifactUri : Uri
) : VersionControlArtifactType
Parameters
artifactUri
Type: System.UriThe 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.