bool CloseRdsElement(RdsId id)
id. Moniker of opened MDM dictionary instance.
The CloseRdsElement operation closes the edited MDM dictionary element.
To execute the operation, in the id field specify moniker of opened MDM dictionary instance. The moniker can be obtained on executing the OpenRds operation. After executing the operation the resources that were allocated on creating/editing element are checked in using the CreateRdsElement operation.
The operation results in the logical True if resources were checked in successfully.
Below is the example of checking in resources after creating/editing MDM dictionary element. The request contains moniker of opened MDM dictionary instance. The response contains whether resources were checked in successfully.
{
"CloseRdsElement" :
{
"id" :
{
"id" : "IENCFEAEIJJEGOAEBOMILAAAFCDPKEPEOLCOBNEJCOFGNDKK!M!S!NMLBPBFAEIJJEGOAEGMHMCAMPNPBCIIHEAIADFGGFONBIEDAA"
}
}
}
{
"CloseRdsElementResult" : "1"
}
public static bool CloseRdsElement(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tClose = new CloseRdsElement()
{
id = new RdsId() { id = moniker }
};
// Release resources
var tResult = somClient.CloseRdsElement(tClose);
return tResult;
}
See also: