dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleConnection Class / SetShardingKey Method / SetShardingKey(OracleShardingKey) Method
Sharding key value(s) to specify.

SetShardingKey(OracleShardingKey) Method
Specifies sharding key values for the connection to a sharded Oracle database.
Syntax
'Declaration
 
Public Overloads Sub SetShardingKey( _
   ByVal shardingKey As OracleShardingKey _
) 
 

Parameters

shardingKey
Sharding key value(s) to specify.
Remarks
Note that if you want to specify sharding key values, you must call this method prior to the first opening of the connection; otherwise, it will have no effect. See Database Sharding Support for more information.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also