Share via


AzureSqlServerDnsAliasCmdletBase.ServerName Property

Definition

Gets or sets the name of the Azure Sql Server to use

[Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters.ResourceNameCompleter("Microsoft.Sql/servers", new System.String[] { "ResourceGroupName" })]
[System.Management.Automation.Parameter(HelpMessage="The Azure Sql Server name.", Mandatory=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public virtual string ServerName { get; set; }
[System.Management.Automation.Parameter(HelpMessage="The Azure Sql Server name.", Mandatory=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public virtual string ServerName { get; set; }
[<Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters.ResourceNameCompleter("Microsoft.Sql/servers", new System.String[] { "ResourceGroupName" })>]
[<System.Management.Automation.Parameter(HelpMessage="The Azure Sql Server name.", Mandatory=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.ServerName : string with get, set
[<System.Management.Automation.Parameter(HelpMessage="The Azure Sql Server name.", Mandatory=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.ServerName : string with get, set
Public Overridable Property ServerName As String

Property Value

Attributes

Applies to