Constants Enumeration

Syntax Constants
Enum Constants
    sta_E_SPC_INVALID_LOGON = 2147751168
    sta_E_SPC_MULTIPLE_OPEN = 2147751169
    sta_E_SPC_NO_PERMISSION = 2147751170
    sta_E_SPC_TOOMANY_USERS = 2147751171
    sta_E_SPC_INVALID_SESSION = 2147751172
    sta_E_SPC_INDEX_OUT_OF_RANGE = 2147751173
    sta_E_SPC_MAX_UPDATE_ATTEMPTS = 2147751174
    sta_E_SPC_CANNOT_UPDATE = 2147751175
    sta_E_SPC_CANNOT_OPEN = 2147751176
    sta_E_SPC_INVALID_STATION = 2147751177
    sta_E_SPC_INVALID_RECORD = 2147751178
    sta_E_SPC_NOT_CONNECTED = 2147751179
    sta_E_SPC_SQL_ERROR = 2147751180
    sta_E_SPC_UNEXPECTED = 2147751181
    sta_E_SPC_ALREADYLOCKED = 2147751182
    sta_E_SPC_OPTION_TYPE_CONFLICT = 2147751183
    sta_E_SPC_INVALID_VERSION = 2147751184
    sta_E_SPC_CANNOT_TRANSACT = 2147751185
    sta_E_SPC_CANNOT_COMMIT = 2147751186
    sta_E_SPC_CANNOT_ROLLBACK = 2147751187
    sta_E_SPC_INVALID_LICENSE = 2147751188
    sta_E_SPC_EXTERNAL_LICENSE_FAILED = 2147751189
    sta_E_SPC_NOPROCESS = 2147751190
    sta_E_SPC_EXPIREDPASSWORD = 2147751191
    sta_E_SPC_INVALID_NEW_PASSWORD = 2147751192
    sta_E_SPC_ACCOUNT_DISABLED = 2147751193
    sta_E_SPC_DB_UPGRADE_FAILED = 2147751200
    sta_LICENSE_LOGON = 0
    sta_LICENSE_ADMIN = 1
    sta_LICENSE_OPERATOR = 2
    sta_LICENSE_ENGINEER = 3
    sta_LICENSE_ADC = 4
    sta_LICENSE_ANALYSISPACK = 5
    sta_LICENSE_QUICK = 6
    sta_LICENSE_FULL = 7
    sta_LICENSE_EXP = 8
    sta_LICENSE_PA = 9
    sta_LICENSE_QC = 10
    sta_LICENSE_POWER = 11
    sta_LICENSE_WEBUSER = 12
    sta_LICENSE_MAX = 13
    sta_PERM_DE = 1
    sta_PERM_ADC = 2
    sta_PERM_ADM = 4
    sta_PERM_UADM = 4
    sta_PERM_ENGR = 8
    sta_PERM_EXTDB_ADM = 8
    sta_PERM_OVR = 16
    sta_PERM_EADM = 32
    sta_PERM_SYS_ADM = 32
    sta_PERM_EDE = 64
    sta_PERM_APACK = 128
    sta_PERM_HEDIT = 256
    sta_PERM_WEBUSER = 512
    sta_PERM_WEBADMIN = 1024
    sta_LOCK_TYPEA = 4096
    sta_LOCK_TYPEB = 8192
    sta_LOCK_TYPEC = 16384
    sta_PERM_QUICK = 65536
    sta_PERM_FULL = 131072
    sta_PERM_EXP = 262144
    sta_PERM_PA = 524288
    sta_PERM_QC = 1048576
    sta_PERM_DUSR = 2097152
    sta_PERM_ALRMADM = 4194304
    sta_PERM_STADM = 8388608
    sta_PERM_MUSR = 16777216
    sta_PERM_DADM = 33554432
    sta_PERM_AADM = 67108864
    sta_PERM_RADM = 134217728
    sta_PERM_USR = 268435456
    sta_PERM_WVWR = 536870912
    sta_PERM_DE_APPROVER = 1073741824
    sta_PERM_FOLDER_ADM = 2147483648
    sta_DEMASK_CHARWISE = 1
    sta_DEMASK_PIECEWISE = 2
    sta_DEMASK_SAMPLEWISE = 4
    sta_DEMASK_ALL = (sta_DEMASK_CHARWISE|sta_DEMASK_SAMPLEWISE|sta_DEMASK_PIECEWISE)
    sta_DBTYPE_SEWSS = 0
    sta_DBTYPE_SCK2 = 1
    sta_DBTYPE_SENS = 2
    sta_DBTYPE_CONCURRENT = 3
    sta_DBTYPE_SEWSSWEB = 100
    sta_DBTYPE_SENSWEB = 102
End Enum
  • sta_E_SPC_INVALID_LOGON
  • sta_E_SPC_MULTIPLE_OPEN
  • sta_E_SPC_NO_PERMISSION
  • sta_E_SPC_TOOMANY_USERS
  • sta_E_SPC_INVALID_SESSION
  • sta_E_SPC_INDEX_OUT_OF_RANGE
  • sta_E_SPC_MAX_UPDATE_ATTEMPTS
  • sta_E_SPC_CANNOT_UPDATE
  • sta_E_SPC_CANNOT_OPEN
  • sta_E_SPC_INVALID_STATION
  • sta_E_SPC_INVALID_RECORD
  • sta_E_SPC_NOT_CONNECTED
  • sta_E_SPC_SQL_ERROR
  • sta_E_SPC_UNEXPECTED
  • sta_E_SPC_ALREADYLOCKED
  • sta_E_SPC_OPTION_TYPE_CONFLICT
  • sta_E_SPC_INVALID_VERSION
  • sta_E_SPC_CANNOT_TRANSACT
  • sta_E_SPC_CANNOT_COMMIT
  • sta_E_SPC_CANNOT_ROLLBACK
  • sta_E_SPC_INVALID_LICENSE
  • sta_E_SPC_EXTERNAL_LICENSE_FAILED
  • sta_E_SPC_NOPROCESS
  • sta_E_SPC_EXPIREDPASSWORD
  • sta_E_SPC_INVALID_NEW_PASSWORD
  • sta_E_SPC_ACCOUNT_DISABLED
  • sta_E_SPC_DB_UPGRADE_FAILED
  • sta_LICENSE_LOGON
  • sta_LICENSE_ADMIN
  • sta_LICENSE_OPERATOR
  • sta_LICENSE_ENGINEER
  • sta_LICENSE_ADC
  • sta_LICENSE_ANALYSISPACK
  • sta_LICENSE_QUICK
  • sta_LICENSE_FULL
  • sta_LICENSE_EXP
  • sta_LICENSE_PA
  • sta_LICENSE_QC
  • sta_LICENSE_POWER
  • sta_LICENSE_WEBUSER
  • sta_LICENSE_MAX
  • sta_PERM_DE
  • sta_PERM_ADC
  • sta_PERM_ADM: User has User Administrator permissions (same as sta_PERM_UADM).
  • sta_PERM_UADM: User has User Administrator permissions (same as sta_PERM_ADM).
  • sta_PERM_ENGR
  • sta_PERM_EXTDB_ADM
  • sta_PERM_OVR
  • sta_PERM_EADM: User has System Administrator permissions (same as sta_PERM_SYS_ADM).
  • sta_PERM_SYS_ADM: User has System Administrator permissions (same as sta_PERM_EADM).
  • sta_PERM_EDE
  • sta_PERM_APACK
  • sta_PERM_HEDIT
  • sta_PERM_WEBUSER
  • sta_PERM_WEBADMIN
  • sta_LOCK_TYPEA
  • sta_LOCK_TYPEB
  • sta_LOCK_TYPEC
  • sta_PERM_QUICK
  • sta_PERM_FULL
  • sta_PERM_EXP
  • sta_PERM_PA
  • sta_PERM_QC
  • sta_PERM_DUSR
  • sta_PERM_ALRMADM
  • sta_PERM_STADM
  • sta_PERM_MUSR
  • sta_PERM_DADM
  • sta_PERM_AADM
  • sta_PERM_RADM
  • sta_PERM_USR
  • sta_PERM_WVWR
  • sta_PERM_DE_APPROVER
  • sta_PERM_FOLDER_ADM
  • sta_DEMASK_CHARWISE
  • sta_DEMASK_PIECEWISE
  • sta_DEMASK_SAMPLEWISE
  • sta_DEMASK_ALL
  • sta_DBTYPE_SEWSS
  • sta_DBTYPE_SCK2
  • sta_DBTYPE_SENS
  • sta_DBTYPE_CONCURRENT
  • sta_DBTYPE_SEWSSWEB
  • sta_DBTYPE_SENSWEB