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.
Initializes a new Shelveset instance.
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub New ( _
    sourceControl As VersionControlServer, _
    name As String, _
    owner As String _
)
public Shelveset(
    VersionControlServer sourceControl,
    string name,
    string owner
)
public:
Shelveset(
    VersionControlServer^ sourceControl, 
    String^ name, 
    String^ owner
)
new : 
        sourceControl:VersionControlServer * 
        name:string * 
        owner:string -> Shelveset
public function Shelveset(
    sourceControl : VersionControlServer, 
    name : String, 
    owner : String
)
Parameters
- sourceControl 
 Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer- The repository to contain this shelveset. 
- name 
 Type: System.String- Name of the shelveset. 
- owner 
 Type: System.String- Owner of the shelveset. 
.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.