Repository.Shelve Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Декларация
<WebMethodAttribute> _
Public Function Shelve ( _
workspaceName As String, _
workspaceOwner As String, _
serverItems As String(), _
shelveset As Shelveset, _
replace As Boolean _
) As List(Of Failure)
[WebMethodAttribute]
public List<Failure> Shelve(
string workspaceName,
string workspaceOwner,
string[] serverItems,
Shelveset shelveset,
bool replace
)
[WebMethodAttribute]
public:
List<Failure^>^ Shelve(
String^ workspaceName,
String^ workspaceOwner,
array<String^>^ serverItems,
Shelveset^ shelveset,
bool replace
)
[<WebMethodAttribute>]
member Shelve :
workspaceName:string *
workspaceOwner:string *
serverItems:string[] *
shelveset:Shelveset *
replace:bool -> List<Failure>
public function Shelve(
workspaceName : String,
workspaceOwner : String,
serverItems : String[],
shelveset : Shelveset,
replace : boolean
) : List<Failure>
Parameters
- workspaceName
Type: System.String
- workspaceOwner
Type: System.String
- serverItems
Type: array<System.String[]
- shelveset
Type: Microsoft.TeamFoundation.VersionControl.Server.Shelveset
- replace
Type: System.Boolean
Return Value
Type: System.Collections.Generic.List<Failure>
.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.