The database role for the associated pool. May be null
in which case the default (public) database role is used if fine grained access control
is enabled; otherwise the database role is ignored.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eSessionPool.SessionPoolSegmentKey\u003c/code\u003e class within the Google Cloud Spanner v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionPoolSegmentKey\u003c/code\u003e class is used to define the criteria by which a session pool is divided into segments.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eSessionPoolSegmentKey\u003c/code\u003e is 5.0.0-beta05, with numerous other versions available, including both beta and stable releases dating back to version 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eSessionPoolSegmentKey\u003c/code\u003e include \u003ccode\u003eDatabaseName\u003c/code\u003e and \u003ccode\u003eDatabaseRole\u003c/code\u003e, which define the specific database and the role associated with sessions in a pool segment.\u003c/p\u003e\n"],["\u003cp\u003eImportant methods of \u003ccode\u003eSessionPoolSegmentKey\u003c/code\u003e are \u003ccode\u003eCreate\u003c/code\u003e to make an instance of the class with a given database name, and \u003ccode\u003eWithDatabaseRole\u003c/code\u003e to alter the role associated with the segment.\u003c/p\u003e\n"]]],[],null,[]]