CreatePermission Method
Collapse the table of content
Expand the table of content

EventLogPermissionAttribute.CreatePermission Method ()


Creates the permission based on the MachineName property and the requested access levels that are set through the PermissionAccess property on the attribute.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public override IPermission CreatePermission()

Return Value

Type: System.Security.IPermission

An IPermission that represents the created permission.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft