Otter SDK Reference
Version:

GetVariablesForScope(int? serverId, int? environmentId, int? serverRoleId, int? jobId, int? hostId) Method

Returns a sequence of all of the variables that are defined in the specified scope.

Syntax

public static IEnumerable<OtterVariable> GetVariablesForScope(int? serverId, int? environmentId, int? serverRoleId, int? jobId, int? hostId)

Parameters

serverId
Type: int?

The server ID.

environmentId
Type: int?

The environment ID.

serverRoleId
Type: int?

The role ID.

jobId
Type: int?

The job ID.

hostId
Type: int?

The host ID.

Returns

Sequence of all of the variables that are defined in the specified scope.