<< Click to Display Table of Contents >>

Navigation:  Adox Classes > AdoCatalog Class >


Previous pageReturn to chapter overviewNext page


Gets the owner of an object in a Catalog



METHOD GetObjectOwner ( cObjectName AS STRING, nObjectType AS LONG,   nObjectTypeId AS USUAL )  AS STRING 



cObjectname        A String value specifying the name of the object for which to return the owner.

nObjectType        A Long value which can be one of the ObjectTypeEnum constants specifying the type of the object for which to get the owner

nObjectTypeId        (Optional). A Variant value specifying the GUID for a provider object type not defined by the OLE DB specification. This parameter is required if ObjectType is set to adPermObjProviderSpecific; otherwise, it is not used



See Also

AdoCatalog, AdoCatalog:SetObjectOwner(), AdoObjectTypeEnum