CatalogTransactionContext.AttachMove Method
Adds this move to the change context. It will be sent to the server when Save() is called. Note that if nodeToMove also has updated properties then those will be committed as well.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Sub AttachMove ( _
nodeToMove As CatalogNode, _
newParent As CatalogNode _
)
public void AttachMove(
CatalogNode nodeToMove,
CatalogNode newParent
)
public:
void AttachMove(
CatalogNode^ nodeToMove,
CatalogNode^ newParent
)
member AttachMove :
nodeToMove:CatalogNode *
newParent:CatalogNode -> unit
public function AttachMove(
nodeToMove : CatalogNode,
newParent : CatalogNode
)
Parameters
nodeToMove
Type: Microsoft.TeamFoundation.Server.Core.CatalogNodeThe node to move.
newParent
Type: Microsoft.TeamFoundation.Server.Core.CatalogNodeThe new parent for the node to move.
.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.