ServiceControllerPermissionAttribute.CreatePermission Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.ServiceProcess
Assembly:  System.ServiceProcess (in System.ServiceProcess.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