Summary
Gets a value indicating whether the current agent is a Microsoft hosted agent.
- Namespace
- Cake
.Common .Build .AzurePipelines .Data - Containing Type
- Azure
Pipelines Agent Info
Syntax
public bool IsHosted { get; }
Value
Type | Description |
---|---|
bool |
true if the current agent is a Microsoft hosted agent. false if the current agent is a self hosted agent.
|