PreviousDTO Programmer's Guide (9.1 revision 1) Next

DtoCategory Object

Show this topic in Library frames

This object allows you to perform operations on a particular category from a DtoCategories collection.

Properties

CategoryID
Returns the unique category ID for a DtoCategory.
Name
Returns the name of the category
Session
Returns the session of the category

Collections
DtoSettings Collection 
Methods

None

Remarks

To get a list of settings for a category, use the Settings property to return a DtoSettings collection. You can then use the DtoSetting objects contained therein to obtain information relating to a particular setting.

Example
' instantiate session object and connect to server 
Dim my_session as new DtoSession 
Dim result as DtoResult 
Dim category as DtoCategory 
Dim my_categories as DtoCategories 
Dim settings as DtoSettings 
result = my_session.Connect("myserver", "username", 
"password") 
' now obtain categories collection 
Set my_categories = my_session.Categories 
' loop through collection 
For Each category In my_categories  
  Set settings = category.Settings 
Next       
See Also

DtoCategories Collection
DtoSession Object


Chapter contents
Publication contents

Prev topic: DtoCategories Collection
Next topic: DtoLicenseMgr Object