IHostContext interface

Information about the current DevOps host (organization)

Properties

id

Unique GUID for this host

isHosted

Distinguish between Azure DevOps Services (true) and Azure DevOps Server (false)

name

Name of the host (i.e. Organization name)

serviceVersion

Version of Azure DevOps used by the current host (organization)

type

DevOps host level

Property Details

id

Unique GUID for this host

id: string

Property Value

string

isHosted

Distinguish between Azure DevOps Services (true) and Azure DevOps Server (false)

isHosted: boolean

Property Value

boolean

name

Name of the host (i.e. Organization name)

name: string

Property Value

string

serviceVersion

Version of Azure DevOps used by the current host (organization)

serviceVersion: string

Property Value

string

type

DevOps host level

type: HostType

Property Value