Gets the shelveset that is associated with the specified URI.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
声明
Public Function GetShelveset ( _
    artifactUri As Uri _
) As Shelveset
public Shelveset GetShelveset(
    Uri artifactUri
)
public:
Shelveset^ GetShelveset(
    Uri^ artifactUri
)
member GetShelveset : 
        artifactUri:Uri -> Shelveset 
public function GetShelveset(
    artifactUri : Uri
) : Shelveset
Parameters
- artifactUri
 Type: System.Uri
 The URI of the desired shelveset.
Return Value
Type: Microsoft.TeamFoundation.VersionControl.Client.Shelveset
The shelveset that is associated with the specified URI.
.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.