ApplicationAccessControlAttribute.Authentication プロパティ

定義

リモート プロシージャ コール (RPC) の認証レベルを取得または設定します。

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

プロパティ値

AuthenticationOption 値のいずれか 1 つ。

次の例は、このプロパティの使用方法を示しています。

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

適用対象