Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Sets or updates features of the metadata signature of a permission set defined by a prior call to IMetaDataEmit::DefinePermissionSet.
Syntax
HRESULT SetPermissionSetProps (
[in] mdToken tk,
[in] DWORD dwAction,
[in] void const *pvPermission,
[in] ULONG cbPermission,
[out] mdPermission *ppm
);
Parameters
tk
[in] A metadata token that represents 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] An mdPermission metadata token that represents the updated permissions.
Requirements
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib