ApplicationAccessControlAttribute.Authentication Özellik

Tanım

Uzak yordam çağrısı (RPC) kimlik doğrulama düzeyini alır veya ayarlar.

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

Özellik Değeri

Değerlerden AuthenticationOption biri.

Örnekler

Aşağıdaki örnekte bu özelliğin kullanımı gösterilmektedir.

// 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)>

Şunlara uygulanır