GenericIdentity.AuthenticationType 属性   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取用于标识用户的身份验证的类型。
public:
 virtual property System::String ^ AuthenticationType { System::String ^ get(); };public override string AuthenticationType { get; }public virtual string AuthenticationType { get; }member this.AuthenticationType : stringPublic Overrides ReadOnly Property AuthenticationType As StringPublic Overridable ReadOnly Property AuthenticationType As String属性值
用于标识用户的身份验证的类型。
实现
示例
以下代码演示如何使用 AuthenticationType 属性。 此代码示例是为 GenericIdentity 类提供的一个更大示例的一部分。
String^ identityAuthenticationType = genericIdentity->AuthenticationType;
string identityAuthenticationType = 
    genericIdentity.AuthenticationType;
Dim identityAuthenticationType As String
identityAuthenticationType = genericIdentity.AuthenticationType()