ProfileProvider.DeleteInactiveProfiles メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ProfileProvider.DeleteInactiveProfiles メソッドの意味・解説 

ProfileProvider.DeleteInactiveProfiles メソッド

メモ : このメソッドは、.NET Framework version 2.0新しく追加されたものです。

派生クラスオーバーライドされた場合最後アクティビティ日付指定した日付以前であるプロファイルについて、すべてのユーザー プロファイル データ削除します

名前空間: System.Web.Profile
アセンブリ: System.Web (system.web.dll 内)
構文構文

Public MustOverride Function
 DeleteInactiveProfiles ( _
    authenticationOption As ProfileAuthenticationOption, _
    userInactiveSinceDate As DateTime _
) As Integer
Dim instance As ProfileProvider
Dim authenticationOption As ProfileAuthenticationOption
Dim userInactiveSinceDate As DateTime
Dim returnValue As Integer

returnValue = instance.DeleteInactiveProfiles(authenticationOption, userInactiveSinceDate)
public abstract int DeleteInactiveProfiles
 (
    ProfileAuthenticationOption authenticationOption,
    DateTime userInactiveSinceDate
)
public:
virtual int DeleteInactiveProfiles (
    ProfileAuthenticationOption authenticationOption, 
    DateTime userInactiveSinceDate
) abstract
public abstract int DeleteInactiveProfiles
 (
    ProfileAuthenticationOption authenticationOption, 
    DateTime userInactiveSinceDate
)
public abstract function DeleteInactiveProfiles
 (
    authenticationOption : ProfileAuthenticationOption, 
    userInactiveSinceDate : DateTime
) : int

パラメータ

authenticationOption

プロファイル種類 (匿名認証、またはその両方) を指定する ProfileAuthenticationOption 値の 1 つ削除されます。

userInactiveSinceDate

アクティブでないと見なすユーザー プロファイル識別する DateTimeユーザー プロファイルの LastActivityDate 値が、この日時またはそれ以前発生している場合、このプロファイル無効と見なされます

戻り値
データ ソースから削除されプロファイルの数。

解説解説
使用例使用例

DeleteInactiveProfiles メソッド実装するために必要なメソッド シグネチャ次のコード例示します。ProfileProvider の完全な実装例については、「方法 : プロファイル プロバイダ構築実行の例」を参照してください

Public Overrides Function
 DeleteInactiveProfiles( _
ByVal authenticationOption As ProfileAuthenticationOption,
 _
ByVal userInactiveSinceDate As DateTime) As
 Integer

  Return 0
End Function
public override int DeleteInactiveProfiles(
    ProfileAuthenticationOption authenticationOption,
    DateTime userInactiveSinceDate)
{
    return 0;
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

ProfileProvider.DeleteInactiveProfiles メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ProfileProvider.DeleteInactiveProfiles メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS