- TIBCO BusinessEvents®
- ActiveSpaces(Deprecated)
- Metaspace
- Space

# Metaspace.Space.setReplicationCount()

## Signature

`int setReplicationCount (Object spaceDef, int replication)`

## Domain

ACTION

## Description

Sets replication count for provided space definition

## Parameters

Name | Type | Description
--- | --- | ---
`spaceDef` | `Object` | Space definition
`replication` | `int` | Desired replication count

## Returns

Type | Description
--- | ---
`int` | Previous space replication count

## Cautions

none