aaAddReplicationGroup
- Last UpdatedMar 10, 2025
- 1 minute read
Add or modify replication groups.
Syntax
aaAddReplicationGroup ReplicationGroupName, ReplicationServerName, ReplicationTypeKey, ReplicationScheduleName, SummaryReplicationNamingScheme, GroupAbbreviation, ReplicationGroupKey
where:
|
Argument |
Description |
|---|---|
|
ReplicationGroupName |
The name of the replication group. This parameter has to be specified, else will return an error. This value is of data type nvarchar(255), with no default. |
|
ReplicationServerName |
The name of the replication server. This value is of data type nvarchar(255), with no default. |
|
ReplicationTypeKey |
The type of replication. Value values are: 1 - Simple Replication 2 - Analog Summary Replication 3 - State Summary Replication This value is of data type tinyint, with a default of 3. |
|
ReplicationScheduleName |
The name of the schedule. This value is of data type nvarchar(255), with no default. |
|
SummaryReplicationNamingScheme |
The naming scheme for summary replication tags. If not specified, the one specified in the ReplicationServer will be used. This value is of data type nvarchar(512), with a default of NULL. |
|
GroupAbbreviation |
Used as part of naming. If not specified, the one specified in the Schedule will be chosen as group abbreviation. This value is of data type nvarchar(32), with a default of NULL. |
|
ReplicationGroupKey |
Unique identifier for the replication group. If specified, this will overwrite the properties of the replication group. This value is of data type int, with a default of NULL. |
Permission
Execute permission defaults to the aaPowerUsers and aaAdministrators groups.