OpenStorage method Opens
a sub-storage in this storage.
Syntax:
Set stg = object.OpenStorage(name [, SF_Flags])
Parameters:
name - the name of the storage to open.
SF_Flags - standard SF flags.
returned value: the opened storage.
Examples:
Set sf = Server.CreateObject("newObjects.utilctls.SFMain")
Set stg = sf.OpenStorageFile("C:\mystoragefile.stg")
Set strm = stg.OpenStorage("mysubstorage")
Set sf = Server.CreateObject("newObjects.utilctls.SFMain")
Set stg = sf.OpenDirectory("C:\mydirectory")
Set strm = stg.OpenStorage("mysubdirectory")
Remarks:
This method opens only direct descendants of the storage. See also OpenSubStorage.
Applies to: SFStorage object
|