IEntityInstance.GetSecurityDescriptor Method
Gets the security descriptor for this External Item.
Namespace: Microsoft.BusinessData.Runtime
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Function GetSecurityDescriptor As Byte()
'Usage
Dim instance As IEntityInstance
Dim returnValue As Byte()
returnValue = instance.GetSecurityDescriptor()
byte[] GetSecurityDescriptor()
Return Value
Type: []
The security descriptor.
Exceptions
Exception | Condition |
---|---|
MetadataObjectNotFoundException | The external content type of this External Item does not contain a BinarySecurityDescriptorAccessor method instance. |
ArgumentException | The identity of this External Item is temporary, therefore cannot be used in the external system. |
Remarks
This method calls the BinarySecurityDescriptorAccessor method instance to get the security descriptor.