नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
Creates a definition for a permission set with the specified metadata signature, and gets a token to that permission set definition.
Syntax
HRESULT DefinePermissionSet (
[in] mdToken tk,
[in] DWORD dwAction,
[in] void const *pvPermission,
[in] ULONG cbPermission,
[out] mdPermission *ppm
);
Parameters
tk
[in] The object to be decorated.
dwAction
[in] A CorDeclSecurity value that specifies the type of declarative security to be used.
pvPermission
[in] The permission BLOB.
cbPermission
[in] The size, in bytes, of pvPermission.
ppm
[out] The returned permission token.
Requirements
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib