SessionStateSection.PartitionResolverType プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
セッション状態を格納する場所を指定する値を取得または設定します。
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 プロパティは無視されます。 PartitionResolverTypeは、sessionState 要素 (ASP.NET Settings Schema) 要素内の他のプロパティと同様に、LockAttributes プロパティを使用してロックできます。 PartitionResolverTypeによって返される接続文字列は、要求の残りの部分に対して適切なサーバーの場所に接続するために、すべての要求で使用されます。 接続文字列が無効な場合、ASP.NET は、構成されたサーバーへの接続文字列が無効な場合にスローされるのと同じ例外をスローします。
このプロパティは、SQL モードまたは状態サーバー モードの場合に、複数のバックエンド ノード間でセッション状態データをパーティション分割するために使用されます。