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

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

ProfileProvider.GetNumberOfInactiveProfiles メソッド

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

派生クラスオーバーライドされたときに、最後アクティビティ日付指定した日付またはそれ以前であるプロファイルの数を返します

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

Public MustOverride Function
 GetNumberOfInactiveProfiles ( _
    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.GetNumberOfInactiveProfiles(authenticationOption, userInactiveSinceDate)
public abstract int GetNumberOfInactiveProfiles
 (
    ProfileAuthenticationOption authenticationOption,
    DateTime userInactiveSinceDate
)
public:
virtual int GetNumberOfInactiveProfiles (
    ProfileAuthenticationOption authenticationOption, 
    DateTime userInactiveSinceDate
) abstract
public abstract int GetNumberOfInactiveProfiles
 (
    ProfileAuthenticationOption authenticationOption, 
    DateTime userInactiveSinceDate
)
public abstract function GetNumberOfInactiveProfiles
 (
    authenticationOption : ProfileAuthenticationOption, 
    userInactiveSinceDate : DateTime
) : int

パラメータ

authenticationOption

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

userInactiveSinceDate

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

戻り値
最後アクティビティ日付指定した日付またはそれ以前であるプロファイルの数。

解説解説
使用例使用例

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

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

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


このページでは「.NET Framework クラス ライブラリ リファレンス」からProfileProvider.GetNumberOfInactiveProfiles メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からProfileProvider.GetNumberOfInactiveProfiles メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からProfileProvider.GetNumberOfInactiveProfiles メソッド を検索

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS