Share via


SessionStateSection.PartitionResolverType プロパティ

定義

セッション状態の格納場所を指定する値を取得または設定します。

public:
 property System::String ^ PartitionResolverType { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("partitionResolverType", DefaultValue="")]
public string PartitionResolverType { get; set; }
[<System.Configuration.ConfigurationProperty("partitionResolverType", DefaultValue="")>]
member this.PartitionResolverType : string with get, set
Public Property PartitionResolverType As String

プロパティ値

セッション状態の格納場所を指定する値または空の文字列 ("")。

属性

注釈

プロパティが PartitionResolverType 指定されている場合、 SqlConnectionString プロパティと StateConnectionString プロパティは無視されます。 はPartitionResolverTypesessionState 要素 (ASP.NET Settings Schema) 要素内の他のプロパティと同様に、 プロパティを使用してLockAttributesロックできます。 によって PartitionResolverType 返される接続文字列は、要求の残りの部分に対して適切なサーバーの場所に接続するために、すべての要求で使用されます。 接続文字列が無効な場合、ASP.NET は、サーバーに対して構成された接続文字列が無効な場合にスローされるのと同じ例外をスローします。

このプロパティは、SQL モードまたは状態サーバー モードの場合に、複数のバックエンド ノード間でセッション状態データをパーティション分割するために使用されます。

適用対象