bool CloseMetabaseLink(OdId tOb)
tOb. Moniker of opened repository connection instance.
The CloseMetabaseLink operation closes opened repository connection instance.
To execute the operation, in the tOb field specify moniker of repository connection instance to be closed. The operation results in the logical True if the object was closed successfully.
The example of closing repository connection instance. The request contains moniker of opened repository connection instance. The response contains whether closing was successful.
{
"CloseMetabaseLink" :
{
"tOb" :
{
"id" : "S1!M!S!ML7"
}
}
}
{
"CloseMetabaseLinkResult" : "1"
}
public static bool CloseMetabaseLink(string moniker)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseMetabaseLink()
{
tOb = new OdId() { id = moniker }
};
//Close repository connection instance
var b = somClient.CloseMetabaseLink(tClose);
return b;
}
See also: