AdoCatalog:SetObjectOwner()

<< Click to Display Table of Contents >>

Navigation:  Adox Classes > AdoCatalog Class >

AdoCatalog:SetObjectOwner()

Previous pageReturn to chapter overviewNext page

Purpose

Sets the owner of an object in a Catalog

 

Prototype

METHOD SetObjectOwner ( cObjectName AS STRING, nObjectType AS LONG,  cUsername AS STRING, nObjectTypeId AS USUAL  )  AS VOID PASCAL CLASS AdoCatalog

 

Argument(s)

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

cUserName        A String value specifying the Name of the User or Group to own the object

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:GetObjectOwner()