WmiConfigurationAttribute.IdentifyLevel Property
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.
Gets or sets a value that specifies whether the WMI provider can impersonate its callers. If the value is false, the provider cannot impersonate, and if the value is true, the provider can impersonate.
public:
property bool IdentifyLevel { bool get(); void set(bool value); };
public bool IdentifyLevel { get; set; }
member this.IdentifyLevel : bool with get, set
Public Property IdentifyLevel As Boolean
Property Value
A Boolean value that indicates whether a provider can or cannot impersonate its callers. If the value is false, the provider cannot impersonate, and if the value is true, the provider can impersonate.
Examples
The following example demonstrates how to use the IdentifyLevel parameter to indicate that the provider can impersonate its callers.
[assembly: WmiConfiguration("root/MyProv", HostingModel = ManagementHostingModel.Decoupled, IdentifyLevel = true]
Remarks
For more information, see Provider Hosting and Security.