Remove

Overview 

Removes a previously initialized portfolio object

Syntax 

Remove()

Example 

This sample code deletes the portfolio object with the external key myPortfolioCK:

1var portObj = Portfolio.Init('myPortfolioCK');
2var status = portObj.Remove();