Bearbeiten

InstrumentedAttribute.SecurityDescriptor Property

Definition

Gets or sets a security descriptor that allows only the specified users or groups to run applications that provide the instrumentation supported by this assembly.

public:
 property System::String ^ SecurityDescriptor { System::String ^ get(); };
public string SecurityDescriptor { get; }
member this.SecurityDescriptor : string
Public ReadOnly Property SecurityDescriptor As String

Property Value

Returns a String value containing the security descriptor that allows only the specified users or groups to run applications that provide the instrumentation supported by this assembly.

Remarks

Users or groups not specified in this security descriptor may still run the application, but cannot provide instrumentation from this assembly.

Property Value

If null, the default value is defined as the Local Administrators Group. This will only allow members of the local administrators group to publish data and fire events from this assembly. Otherwise, this is a string in SDDL format representing the security descriptor that defines which users and groups can provide instrumentation data and events from this application.

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to