bool ClosePrxMeta(string mon)
mon. Moniker of opened regular report instance.
The ClosePrxMeta operation closes regular report instance.
To execute the operation, in the mon field specify moniker of the regular report instance to be closed. The moniker can be obtained on executing the OpenPrxMeta operation.
The operation results in the logical True if the object 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.
{
"ClosePrxMeta" :
{
"mon" : "S1!M!S!P1"
}
}
{
"ClosePrxMetaResult" : "1"
}
public static bool CloseMetaPrx(string moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new ClosePrxMeta()
{
mon = moniker
};
//Close regular report
var result = somClient.ClosePrxMeta(tClose);
return result;
}
See also: