Repository.Destroy Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
‘선언
<WebMethodAttribute> _
Public Function Destroy ( _
item As ItemSpec, _
versionSpec As VersionSpec, _
stopAtSpec As VersionSpec, _
flags As Integer, _
<OutAttribute> ByRef failures As Failure(), _
<OutAttribute> ByRef pendingChanges As StreamingCollection(Of PendingSet), _
<OutAttribute> ByRef shelvedChanges As StreamingCollection(Of PendingSet) _
) As Item()
[WebMethodAttribute]
public Item[] Destroy(
ItemSpec item,
VersionSpec versionSpec,
VersionSpec stopAtSpec,
int flags,
out Failure[] failures,
out StreamingCollection<PendingSet> pendingChanges,
out StreamingCollection<PendingSet> shelvedChanges
)
[WebMethodAttribute]
public:
array<Item^>^ Destroy(
ItemSpec^ item,
VersionSpec^ versionSpec,
VersionSpec^ stopAtSpec,
int flags,
[OutAttribute] array<Failure^>^% failures,
[OutAttribute] StreamingCollection<PendingSet^>^% pendingChanges,
[OutAttribute] StreamingCollection<PendingSet^>^% shelvedChanges
)
[<WebMethodAttribute>]
member Destroy :
item:ItemSpec *
versionSpec:VersionSpec *
stopAtSpec:VersionSpec *
flags:int *
failures:Failure[] byref *
pendingChanges:StreamingCollection<PendingSet> byref *
shelvedChanges:StreamingCollection<PendingSet> byref -> Item[]
public function Destroy(
item : ItemSpec,
versionSpec : VersionSpec,
stopAtSpec : VersionSpec,
flags : int,
failures : Failure[],
pendingChanges : StreamingCollection<PendingSet>,
shelvedChanges : StreamingCollection<PendingSet>
) : Item[]
Parameters
- versionSpec
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpec
- stopAtSpec
Type: Microsoft.TeamFoundation.VersionControl.Server.VersionSpec
- flags
Type: System.Int32
- failures
Type: array<Microsoft.TeamFoundation.VersionControl.Server.Failure[]%
- pendingChanges
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<PendingSet>%
- shelvedChanges
Type: Microsoft.TeamFoundation.Framework.Server.StreamingCollection<PendingSet>%
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Server.Item[]
.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.