ApplicationAccessControlAttribute.AccessChecksLevel Propriedade

Definição

Obtém ou define o nível de verificação de acesso para o nível de processo ou para o nível de componente.

public:
 property System::EnterpriseServices::AccessChecksLevelOption AccessChecksLevel { System::EnterpriseServices::AccessChecksLevelOption get(); void set(System::EnterpriseServices::AccessChecksLevelOption value); };
public System.EnterpriseServices.AccessChecksLevelOption AccessChecksLevel { get; set; }
member this.AccessChecksLevel : System.EnterpriseServices.AccessChecksLevelOption with get, set
Public Property AccessChecksLevel As AccessChecksLevelOption

Valor da propriedade

Um dos valores de AccessChecksLevelOption.

Exemplos

O exemplo de código a seguir demonstra o uso dessa propriedade.

// Set component access controls.
[assembly:ApplicationAccessControl(Authentication=AuthenticationOption::Privacy,
ImpersonationLevel=ImpersonationLevelOption::Identify,
AccessChecksLevel=AccessChecksLevelOption::ApplicationComponent)];
// Set component access controls.
[assembly: ApplicationAccessControl(Authentication=AuthenticationOption.Privacy,
                                    ImpersonationLevel=ImpersonationLevelOption.Identify,
                                    AccessChecksLevel=AccessChecksLevelOption.ApplicationComponent)]
' Set component access controls.
<Assembly: ApplicationAccessControl(Authentication:=AuthenticationOption.Privacy, ImpersonationLevel:=ImpersonationLevelOption.Identify, AccessChecksLevel:=AccessChecksLevelOption.ApplicationComponent)>

Comentários

Essa propriedade tem suporte apenas no Windows 2000 e posterior.

Aplica-se a