Dela via


AzureSqlElasticJobTargetCmdletBase<TInputObject>.AgentServerName Property

Definition

Gets or sets the name of the agent's server name

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

Property Value

Attributes

Applies to