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

# Metaspace.Space.setDistributionRole()

## Signature

`void setDistributionRole (String spaceName, String role)`

## Domain

ACTION

## Description

Sets the distribution role of the calling Member of the Space.

## Parameters

Name | Type | Description
--- | --- | ---
`spaceName` | `String` | The space name specified must be prefixed with the Metaspace name. Example ms.S1
`role` | `String` | The valid values are LEECH, SEEDER. Case sensitive

## Returns

Type | Description
--- | ---
`void` |

## Cautions

none