[python-win32] Re: ADOX Delete method ?
Roger Upole
rwupole at msn.com
Fri Jul 7 21:41:58 CEST 2006
Jim Vickroy wrote:
> ADOX Catalog objects appear to have a Delete method
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/admscadoddlmethods.asp)
> but I'm not seeing it from python-win:
>
> >>> from win32com.client import Dispatch
> >>> catalog = Dispatch('ADOX.Catalog')
> >>> print dir(catalog)
> ['CLSID', 'Create', 'GetObjectOwner', 'SetActiveConnection',
> 'SetObjectOwner', '_ApplyTypes_', '__call__', '__cmp__', '__doc__',
> '__getattr__', '__init__', '__int__', '__module__', '__repr__',
> '__setattr__', '__str__', '__unicode__', '_get_good_object_',
> '_get_good_single_object_', '_oleobj_', '_prop_map_get_',
> '_prop_map_put_', 'coclass_clsid']
>
> I'm using Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit
> (Intel)] and pywin32 build 208.
>
> Have I overlooked something?
>
> Thanks,
>
The Delete method is part of the catalog's collections.
catalog.Tables.Delete, catalog.Users.Delete, etc
Roger
More information about the Python-win32
mailing list