bool PrxMetaRejectDataChanges(string mon)
mon. Moniker of opened regular report instance or report sheet.
The PrxMetaRejectDataChanges operation cancels data changes in regular report table areas or report sheet.
After executing the operation all changes in report table areas or report sheet unsaved to data sources will be canceled. To execute the operation, in the mon field specify moniker of opened regular report instance. The report moniker can be obtained on executing the OpenPrxMeta operation. The sheet moniker is specified in the format: Regular report instance moniker!Sheets!Sheet key.
The operation results in the logical true if data changes were canceled successfully.
Below is the example of canceling data changes in regular report table areas. The request contains moniker of opened regular report instance. The response contains whether data changes were canceled successfully.
{
"PrxMetaRejectDataChanges" :
{
"mon" : "LEFCEGHEHDAGGOAEIDIBAFJILIJAOCNEFJGGKICOCEHGJIFE!M!S!PCGIBEMHEHDAGGOAELLKJBGLMCMMNKKMEJJJCPJBIHOHKDFHJ"
}
}
{
"PrxMetaRejectDataChangesResult" : "1"
}
public static bool PrxMetaRejectDataChanges(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tChange = new PrxMetaRejectDataChanges()
{
mon = moniker
};
// Cancel data changes
var result = somClient.PrxMetaRejectDataChanges(tChange);
return result;
}
See also: