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

In This Topic
    SetShardingKey(OracleShardingKey,OracleShardingKey) Method
    In This Topic
    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 _
    ) 
    public void SetShardingKey( 
       OracleShardingKey shardingKey,
       OracleShardingKey superShardingKey
    )

    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.
    See Also