Enum
An
enum, in computer programming also called an
enumerated data type, is a bundle of named constant values.You can declare a variable of a specific type and assign any of the enum's constants to it.
You can select from these built-in enum types:
ProcessStatusOlapSubsetAccessMinglePrivacyLevel
The enum syntax is [ENUMNAME].[ENUMMEMBER].
In this example the All, Private, and Public constants are wrapped in one
enum called OlapSubsetAccess. The OlapSubsetAccess
enum contains three values: All, Private, and Public. The
values correspond with the constants.
OlapSubsetAccess.Public // for the existing OlapSubsetAccessPublic constant
OlapSubsetAccess.Private // for the existing OlapSubsetAccessPrivate constant
OlapSubsetAccess.All // for the existing OlapSubsetAccessAll constant
These are the ProcessStatus and MinglePrivacyLevel enums:
ProcessStatus.Faulted // for the existing ProcessStatusFaulted constant
ProcessStatus.Cancelled // for the existing ProcessStatusCancelled constant
ProcessStatus.Created // for the existing ProcessStatusCreated constant
ProcessStatus.Running // for the existing ProcessStatusRunning constant
ProcessStatus.Completed // for the existing ProcessStatusCompleted constant
MinglePrivacyLevel.Public // for the existing MinglePrivacyLevelPublic constant
MinglePrivacyLevel.Private // for the existing MinglePrivacyLevelPrivate constant
MinglePrivacyLevel.Group // for the existing MinglePrivacyLevelGroup constant
MinglePrivacyLevel.Colleagues // for the existing MinglePrivacyLevelColleagues constant