bool CloseCompoundDictionarySource(RdsId id)
id. Moniker of composite MDM dictionary data source.
The CloseCompoundDictionarySource operation closes composite MDM dictionary data source.
To execute the operation, in the id field specify moniker of composite MDM dictionary data source. The moniker can be obtained on executing the CreateCompoundDictionarySource, OpenCompoundDictionarySource operation.
The operation results in the logical true if the data source was closed successfully.
Below is the example of closing composite MDM dictionary data source. The request contains data source moniker. The response contains whether closing is successful.
{
"CloseCompoundDictionarySource" :
{
"id" :
{
"id" : "LFDCEOAJELGFGOAEOHNCJJKKEAEKGGDECKEPMBLACNIPJPNG!M!S!NONBODBBJELGFGOAELOJMHDMDOIMJJHKEJIFCPPBNLHMBJEEO!Sources!2"
}
}
}
{
"CloseCompoundDictionarySourceResult" : "1"
}
public static bool CloseCompoundDictionarySource(string sourceMoniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tClose = new CloseCompoundDictionarySource()
{
id = new RdsId() { id = sourceMoniker }
};
// Close composite MDM dictionary data source
var tResult = somClient.CloseCompoundDictionarySource(tClose);
return tResult;
}
See also: