Dela via


AzureSqlElasticJobTargetCmdletBase<TInputObject>.AgentName Property

Definition

Gets or sets the name of the agent

[System.Management.Automation.Parameter(HelpMessage="The agent name.", Mandatory=true, ParameterSetName="SqlServerOrElasticPool", Position=2)]
[System.Management.Automation.Parameter(HelpMessage="The agent name.", Mandatory=true, ParameterSetName="SqlDatabase", Position=2)]
[System.Management.Automation.Parameter(HelpMessage="The agent name.", Mandatory=true, ParameterSetName="SqlShardMap", Position=2)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public override string AgentName { get; set; }
[<System.Management.Automation.Parameter(HelpMessage="The agent name.", Mandatory=true, ParameterSetName="SqlServerOrElasticPool", Position=2)>]
[<System.Management.Automation.Parameter(HelpMessage="The agent name.", Mandatory=true, ParameterSetName="SqlDatabase", Position=2)>]
[<System.Management.Automation.Parameter(HelpMessage="The agent name.", Mandatory=true, ParameterSetName="SqlShardMap", Position=2)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.AgentName : string with get, set
Public Overrides Property AgentName As String

Property Value

Attributes

Applies to