AuthenticationSection.Passport Propiedad
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Precaución
This property is obsolete. The Passport authentication product is no longer supported and has been superseded by Live ID.
Obtiene la propiedad de elemento Passport.
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
Valor de propiedad
Propiedad de elemento Passport que contiene información utilizada durante la autenticación basada en formularios.
- Atributos
Ejemplos
En el ejemplo de código siguiente se muestra cómo usar la Passport propiedad element.
// 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