你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ScopeHelpers Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 |