Uredi

Deli z drugimi prek


WmiConfigurationAttribute.IdentifyLevel Property

Definition

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.

Applies to