Compartilhar via


ServiceDescriptor.HostGroup Property

Definition

Gets or sets a host group for the service. Same service with different host groups will be hosted on different hosts. Same service with the same host group (or no host group at all) will be hosted on the same host.

public:
 property Microsoft::ServiceHub::Client::HostGroup ^ HostGroup { Microsoft::ServiceHub::Client::HostGroup ^ get(); void set(Microsoft::ServiceHub::Client::HostGroup ^ value); };
[Newtonsoft.Json.JsonProperty("hostGroup", NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)]
public Microsoft.ServiceHub.Client.HostGroup HostGroup { get; set; }
[Newtonsoft.Json.JsonProperty("hostGroup", NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)]
public Microsoft.ServiceHub.Client.HostGroup? HostGroup { get; set; }
[<Newtonsoft.Json.JsonProperty("hostGroup", NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)>]
member this.HostGroup : Microsoft.ServiceHub.Client.HostGroup with get, set
Public Property HostGroup As HostGroup

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to