PassportIdentity.SignOut(String) メソッド

定義

指定した Passport メンバーを現在のセッションからログオフします。 このクラスは非推奨とされます。

public:
 static void SignOut(System::String ^ strSignOutDotGifFileName);
public static void SignOut (string strSignOutDotGifFileName);
static member SignOut : string -> unit
Public Shared Sub SignOut (strSignOutDotGifFileName As String)

パラメーター

strSignOutDotGifFileName
String

サインアウトするときクリックするイメージを含む HTML フラグメント。

// This example demonstrates how to sign a user out of Passport.
// local GIF file that the user is redirected to.
string signOutGifFile = "signout.gif";
// Signs the user out of their Passport Profile and displays the SignOut.gif file.
System.Web.Security.PassportIdentity.SignOut(signOutGifFile);
' This example demonstrates how to sign a user out of Passport.
' local GIF file that the user is redirected to.
Dim signOutGifFile As String = "signout.gif"
' Signs the user out of their Passport Profile and displays the SignOut.gif file.
System.Web.Security.PassportIdentity.SignOut(signOutGifFile)

注釈

このクラスは非推奨となり、サポートされなくなりました。 Microsoft Passport Network が Windows Live ID に置き換えられました。

適用対象