IAccessControlList.Add Method
Appends an access control entry to the access control list (ACL).
Namespace: Microsoft.BusinessData.Infrastructure
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Sub Add ( _
ace As IAccessControlEntry _
)
'Usage
Dim instance As IAccessControlList
Dim ace As IAccessControlEntry
instance.Add(ace)
void Add(
IAccessControlEntry ace
)
Parameters
ace
Type: Microsoft.BusinessData.Infrastructure.IAccessControlEntryThe access control entry given to this ACL.
Remarks
Instances of objects in the Business Data Connectivity object model are tied to the Metadata Store they are obtained from. Using instances tied to one Metadata Store with the instances from another Metadata Store will cause data corruption and other unexpected behavior. For more information, see DatabaseBackedMetadataCatalog, FileBackedMetadataCatalog, and RemoteSharedFileBackedMetadataCatalog.
Examples
Code Snippet: Add an Access Control Entry to a MetadataObject Using the Administration Object Model