Table of contents
TOC
Collapse the table of content
Expand the table of content

SetObjectOwner method [ADOX]

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Applies to: Access 2013 | Access 2016

Specifies the owner of an object in a Catalog.

Parameters

  • ObjectName

  • A String value that specifies the name of the object for which to specify the owner.

  • ObjectType

  • A Long value which can be one of the ObjectTypeEnum constants that specifies the owner type.

  • OwnerName

  • A String value that specifies the Name of the User or Group to own the object.

  • ObjectTypeId

  • Optional. A Variant value that specifies 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.

Remarks

An error will occur if the provider does not support specifying object owners.

ACCESS SUPPORT RESOURCES
Access for developers forum on MSDN
Access help on support.office.com
Access help on answers.microsoft.com
Search for specific Access error codes on Bing
Access forums on UtterAccess
Access wiki on UtterAcess
Access developer and VBA programming help center (FMS)
Access posts on StackOverflow

© 2018 Microsoft