dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleConnection Class / SetShardingKey Method / SetShardingKey(OracleShardingKey,OracleShardingKey) Method
Sharding key values.
Super sharding key values.

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

Parameters

shardingKey
Sharding key values.
superShardingKey
Super sharding key values.
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