DataInterfaceStream - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Connectivity : Database Package : DataInterfaceStream : Database/DataInterfaceStream/Close

DataInterfaceStream

  

Close

  

close a DataInterfaceStream Module

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

stream:-Close( )

Parameters

stream

-

DataInterfaceStream module

Description

• 

Close is used to close a DataInterfaceStream module. This happens automatically when this object is garbage collected; however, you can call Close to release the resources earlier.

• 

Any descendant modules of stream are closed when stream is closed.  (A module is a descendant of a parent module if it is returned by one of the parent module's exports or if it is a descendant of one of the parent module's descendants.)

Examples

driverDatabase[LoadDriver]:

conndriver:-OpenConnectionurl,name,pass:resconn:-ExecuteQuerySELECT * FROM stream:res:-Next

true

(1)

strres:-GetData1,stream=true:str:-Read10

the quick

(2)

str:-Close;str:-Read10

Error, (in Read) this object has been closed, no further operations are possible

See Also

Database

Database[DataInterfaceStream]

Database[DataInterfaceStream][Read]

Database[DataInterfaceStream][Skip]

Database[usage]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam