AuthenticationSection.Passport Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Achtung
This property is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.
Ruft die Passport-Elementeigenschaft ab.
public:
property System::Web::Configuration::PassportAuthentication ^ Passport { System::Web::Configuration::PassportAuthentication ^ get(); };
[System.Configuration.ConfigurationProperty("passport")]
public System.Web.Configuration.PassportAuthentication Passport { get; }
[System.Configuration.ConfigurationProperty("passport")]
[System.Obsolete("This property is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.")]
public System.Web.Configuration.PassportAuthentication Passport { get; }
[<System.Configuration.ConfigurationProperty("passport")>]
member this.Passport : System.Web.Configuration.PassportAuthentication
[<System.Configuration.ConfigurationProperty("passport")>]
[<System.Obsolete("This property is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.")>]
member this.Passport : System.Web.Configuration.PassportAuthentication
Public ReadOnly Property Passport As PassportAuthentication
Eigenschaftswert
Eine Passport-Elementeigenschaft, die während der passportbasierten Authentifizierung verwendete Informationen enthält.
- Attribute
Beispiele
Im folgenden Codebeispiel wird die Verwendung der Passport Elementeigenschaft veranschaulicht.
// Get the current Passport property.
PassportAuthentication currentPassport =
authenticationSection.Passport;
// Get the Passport redirect URL.
string passRedirectUrl =
currentPassport.RedirectUrl;
' Get the current Passport property.
Dim currentPassport _
As PassportAuthentication = _
authenticationSection.Passport
' Get the Passport redirect URL.
Dim passRedirectUrl As String = _
currentPassport.RedirectUrl