Share via


CommonServicesProvider.IsElevated Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.ServicesProvider.Common
Assembly: Microsoft.OneGet.ServicesProvider.Common (in Microsoft.OneGet.ServicesProvider.Common.dll)

Usage

'Usage
Dim instance As CommonServicesProvider
Dim requestImpl As Object
Dim returnValue As Boolean

returnValue = instance.IsElevated(requestImpl)

Syntax

'Declaration
Public Function IsElevated ( _
    requestImpl As Object _
) As Boolean
public bool IsElevated (
    Object requestImpl
)
public:
bool IsElevated (
    Object^ requestImpl
)
public boolean IsElevated (
    Object requestImpl
)
public function IsElevated (
    requestImpl : Object
) : boolean

Parameters

  • requestImpl

Return Value

Returns Boolean.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

CommonServicesProvider Class
CommonServicesProvider Members
Microsoft.OneGet.ServicesProvider.Common Namespace