다음을 통해 공유


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 속성이 무시됩니다. sessionState PartitionResolverType요소(ASP.NET Settings Schema) 요소 내의 다른 속성과 같은 속성을 통해 LockAttributes 잠글 수 있습니다. 반환된 연결 문자열은 요청의 PartitionResolverType 나머지 부분에 대한 적절한 서버 위치에 연결하기 위해 모든 요청에 사용됩니다. 연결 문자열이 잘못된 경우 ASP.NET 구성된 연결 문자열이 잘못되었을 때 throw되는 것과 동일한 예외를 throw합니다.

이 속성은 SQL 또는 상태 서버 모드에서 여러 백 엔드 노드에서 세션 상태 데이터를 분할하는 데 사용됩니다.

적용 대상