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.
Create a Shelveset object for shelving changes.
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, _
    properties As IEnumerable(Of PropertyValue) _
)
public Shelveset(
    VersionControlServer sourceControl,
    string name,
    string owner,
    IEnumerable<PropertyValue> properties
)
public:
Shelveset(
    VersionControlServer^ sourceControl, 
    String^ name, 
    String^ owner, 
    IEnumerable<PropertyValue^>^ properties
)
new : 
        sourceControl:VersionControlServer * 
        name:string * 
        owner:string * 
        properties:IEnumerable<PropertyValue> -> Shelveset
public function Shelveset(
    sourceControl : VersionControlServer, 
    name : String, 
    owner : String, 
    properties : IEnumerable<PropertyValue>
)
Parameters
- sourceControl 
 Type: Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer- source control object that represents the repository on which the shelveset will be created 
- name 
 Type: System.String- name of the shelveset 
- owner 
 Type: System.String- owner of the shelveset 
- properties 
 Type: System.Collections.Generic.IEnumerable<PropertyValue>- custom properties to be associated with 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.