_AppDomain.SetAppDomainPolicy(PolicyLevel) Method

Definition

Provides COM objects with version-independent access to the SetAppDomainPolicy(PolicyLevel) method.

public:
 void SetAppDomainPolicy(System::Security::Policy::PolicyLevel ^ domainPolicy);
public void SetAppDomainPolicy (System.Security.Policy.PolicyLevel domainPolicy);
[System.Security.SecurityCritical]
public void SetAppDomainPolicy (System.Security.Policy.PolicyLevel domainPolicy);
abstract member SetAppDomainPolicy : System.Security.Policy.PolicyLevel -> unit
Public Sub SetAppDomainPolicy (domainPolicy As PolicyLevel)

Parameters

domainPolicy
PolicyLevel

The security policy level.

Attributes

Remarks

See the AppDomain.SetAppDomainPolicy method.

Applies to