Udostępnij za pośrednictwem


ScopeHelpers Class

Definition

public static class ScopeHelpers
type ScopeHelpers = class
Public Class ScopeHelpers
Inheritance
ScopeHelpers

Methods

GetContextModificationScopeForProcess(DebugWriter)

Get the context modification scope for the current process. This will be 'Process' if changes should only affect the current PowerShell session, or 'CurrentUser' if any changes should be global.

GetContextModificationScopeForUser(IAzureSession, DebugWriter)

Get the context modification scope for the current user. This will be 'Process' if changes should only affect the current PowerShell session, or 'CurrentUser' if any changes should be global.

GetContextModificationScopeFromSaveMode(String)

Translate a string representation of the save mode into the ContextModificatioNScope enum

GetContextSaveMode(ContextModificationScope)

Translate the ContextModificationScope enum into a string

Applies to