HealthMonitoringSection.Providers プロパティ
アセンブリ: System.Web (system.web.dll 内)
構文
Dim instance As HealthMonitoringSection Dim value As ProviderSettingsCollection value = instance.Providers
ProviderSettingsCollection コレクション。既定値は空の ProviderSettingsCollection コレクションです。
使用例
Providers プロパティの使用方法のコード例を次に示します。このコード例は、HealthMonitoringSection クラスのトピックで取り上げているコード例の一部分です。
' Display contents of the Providers collection property Console.WriteLine("Providers Collection contains {0} values:", _ healthMonitoringSection.Providers.Count) ' Display all elements. For i As System.Int32 = 0 To healthMonitoringSection.Providers.Count - 1 Dim providerStg As System.Configuration.ProviderSettings = _ healthMonitoringSection.Providers(i) Console.WriteLine(" Item {0}: Name = '{1}' Type = '{2}'", i, _ providerStg.Name, providerStg.Type) Next
// Display contents of the Providers collection property Console.WriteLine("Providers Collection contains {0} values:", healthMonitoringSection.Providers.Count); // Display all elements. for (System.Int32 i = 0; i < healthMonitoringSection.Providers.Count; i++) { System.Configuration.ProviderSettings provider = healthMonitoringSection.Providers[i]; Console.WriteLine(" Item {0}: Name = '{1}' Type = '{2}'", i, provider.Name, provider.Type); }
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
Weblioに収録されているすべての辞書からHealthMonitoringSection.Providers プロパティを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からHealthMonitoringSection.Providers プロパティを検索
- HealthMonitoringSection.Providers プロパティのページへのリンク