Files
Umbraco-CMS/src/Umbraco.Core/Sync/ServerRole.cs
T
2018-11-22 14:05:51 +00:00

29 lines
706 B
C#

namespace Umbraco.Core.Sync
{
/// <summary>
/// The role of a server in an application environment.
/// </summary>
public enum ServerRole : byte
{
/// <summary>
/// The server role is unknown.
/// </summary>
Unknown = 0,
/// <summary>
/// The server is the single server of a single-server environment.
/// </summary>
Single = 1,
/// <summary>
/// In a multi-servers environment, the server is a replica server.
/// </summary>
Slave = 2,
/// <summary>
/// In a multi-servers environment, the server is the master server.
/// </summary>
Master = 3
}
}