Click or drag to resize

ServiceEnvironment Class

Contains information about Cobra.
Inheritance Hierarchy
SystemObject
  Cobra.Model.WebServiceServiceEnvironment

Namespace:  Cobra.Model.WebService
Assembly:  Cobra.Model.WebService (in Cobra.Model.WebService.dll) Version: 8.4.717.3176 (8.4.0717.3176)
Syntax
C#
public class ServiceEnvironment

The ServiceEnvironment type exposes the following members.

Properties
  NameDescription
Public propertyApplicationVersion
Determines whether Cobra sucessfully connected to the database.
Public propertyConnectionSuccessful
Denotes if the connection to the service is successfull.
Public propertyDatabaseVersion
The version of the database
Public propertyIsReportTemplateDirectoryAccessible
Determines if the Report Template Directory is accessible to Cobra service.
Public propertyMachineId
The MachineId where the service environment belongs to.
Public propertyNeedDatabaseUpdate
Denotes if the database is not in the latest version and needs upgrade.
Public propertyNeedEngineUpdate
Denotes if the Cobra engine is not in the latest version and needs upgrade.
Public propertyProcessLogDirectory
The directory for the generated process logs.
Public propertyReportTemplateDirectory
The directory for the report templates.
Public propertyServiceName
The ServiceName where the service environment belongs to.
Public propertyServiceType
Specifies which service type the service environment belongs to.
Public propertyServiceURL
Contains the service URL of the target environment.
Public propertyVersionUpdated
Denotes if both the engine and database are in the latest version.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMessageCount
Returns the number of message of the specified messageType.
Public methodGetMessages
Returns messages of the specified messageType.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also