CloseCubeImport

Syntax

bool CloseCubeImport(CubeImportId tCubeImport)

Parameters

tCubeImport. Cube data import object moniker.

Description

The CloseCubeImport operation closes an instance of data import to cube and returns whether the instance is closed successfully.

Comments

To execute the operation, determine moniker of the import object instance to be closed in the tCubeImport parameter. The operation results in the logical True if the object was closed successfully.

Example

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CloseCubeImport xmlns="http://www.fsight.ru/PP.SOM.Som">
<tCubeImport xmlns="">
  <id>S1!M!S!I1</id>
  </tCubeImport>
  </CloseCubeImport>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
  <CloseCubeImportResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1</CloseCubeImportResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
 "CloseCubeImport" : 
  {
   "tCubeImport" : 
    {
     "id" : "S1!M!S!I1"
    }
  }
}

JSON response:

{
 "CloseCubeImportResult" : "1"
}
public static bool CloseCubeImport(CubeImportId id)
{
var somClient = new SomPortTypeClient(); //Proxy object for operation execution
//Operation execution parameters
var tClose = new CloseCubeImport()
{
tCubeImport = id
};
//Close object of data import to cube
var result = somClient.CloseCubeImport(tClose);
return result;
}

See also:

Working with Cubes