bool ClosePrx(PrxId tPrx)
tPrx. Opened regular report instance moniker.
The ClosePrx operation closes an instance of regular report.
To execute the operation, in the tPrx parameter specify moniker of the regular report instance to be closed. The operation results in the logical True if the report was closed successfully.
Below is the example of closing regular report instance. The request contains opened report moniker, the response contains whether the report is successfully closed.
{
"ClosePrx" :
{
"tPrx" :
{
"id" : "S1!M!S!P1"
}
}
}
{
"ClosePrxResult" : "1"
}
public static bool ClosePrx(PrxId moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new ClosePrx()
{
tPrx = moniker
};
//Open regular report
var result = somClient.ClosePrx(tClose);
return result;
}
See also: