แก้ไข

แชร์ผ่าน


WmiConfigurationAttribute.NamespaceSecurity Property

Definition

Gets or sets a Security Descriptor Definition Language (SDDL) string that specifies the security descriptor on the namespace in which the provider exposes management objects.

public:
 property System::String ^ NamespaceSecurity { System::String ^ get(); void set(System::String ^ value); };
public string NamespaceSecurity { get; set; }
member this.NamespaceSecurity : string with get, set
Public Property NamespaceSecurity As String

Property Value

An SDDL string that represents the security descriptor on the namespace in which the provider exposes management objects.

Examples

The following example demonstrates how to use the NamespaceSecurity parameter to set the security descriptor on the root/SDTest namespace in which the provider implemented in this assembly exposes WMI classes.

[assembly: WmiConfiguration("root/SDTest", HostingModel = ManagementHostingModel.Decoupled, IdentifyLevel = false, NamespaceSecurity = "O:BAG:BAD:(A;CI;0x60003;;;WD)")]

Remarks

For more information about how to represent security descriptors in SDDL format, see Security Descriptor String Format.

Applies to