SetObjectOwner Method
Specifies the owner of an object in a Catalog.
Syntax
Catalog.SetObjectOwner ObjectName, ObjectType, OwnerName [,ObjectTypeId]
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 that is 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.
Applies To
See Also
GetObjectOwner and SetObjectOwner Methods Example (VB)
GetObjectOwner Method (ADOX)
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin