AzureSqlServerServiceObjectiveCmdletBase.ServerName Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the name of the database server to use.
[Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters.ResourceNameCompleter("Microsoft.Sql/servers", new System.String[] { "ResourceGroupName" })]
[System.Management.Automation.Parameter(HelpMessage="Azure SQL Server name.", Mandatory=true, ParameterSetName="ByServer", Position=1, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string ServerName { get; set; }
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.Parameter(HelpMessage="SQL Database server name.", Mandatory=true, Position=1, ValueFromPipelineByPropertyName=true)]
public string ServerName { get; set; }
[<Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters.ResourceNameCompleter("Microsoft.Sql/servers", new System.String[] { "ResourceGroupName" })>]
[<System.Management.Automation.Parameter(HelpMessage="Azure SQL Server name.", Mandatory=true, ParameterSetName="ByServer", Position=1, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.ServerName : string with get, set
[<System.Management.Automation.ValidateNotNullOrEmpty>]
[<System.Management.Automation.Parameter(HelpMessage="SQL Database server name.", Mandatory=true, Position=1, ValueFromPipelineByPropertyName=true)>]
member this.ServerName : string with get, set
Public Property ServerName As String
Property Value
- Attributes