 | AutomationMLContainerRelinkPart(PackagePart, PackagePart, Uri) Method |
Changes the Uri of a package part. The part is removed and readded with the provided
newPartUri. All relationships of the part are updated. If a related Part
is defined, with the provided part as a target, the relations are redefined.
Namespace: Aml.Engine.AmlObjectsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic bool RelinkPart(
PackagePart part,
PackagePart relatedPart,
Uri newPartUri
)
Public Function RelinkPart (
part As PackagePart,
relatedPart As PackagePart,
newPartUri As Uri
) As Boolean
public:
bool RelinkPart(
PackagePart^ part,
PackagePart^ relatedPart,
Uri^ newPartUri
)
Parameters
- part PackagePart
- The part to change the uri
- relatedPart PackagePart
- A related source part
- newPartUri Uri
- The new Uri for the part
Return Value
Booleantrue, if success; otherwise false
See Also