AzureSqlDatabaseCmdletBase<M,A>.ServerName Property

Definition

Gets or sets the name of the database server to use.

C#
[Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters.ResourceNameCompleter("Microsoft.Sql/servers", new System.String[] { "ResourceGroupName" })]
[System.Management.Automation.Parameter(HelpMessage="SQL Database server name.", Mandatory=true, Position=1, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public virtual string ServerName { get; set; }
C#
[System.Management.Automation.Parameter(HelpMessage="SQL Database server name.", Mandatory=true, Position=1, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string ServerName { get; set; }

Property Value

Attributes

Applies to

منتج الإصدارات
Azure - PowerShell Commands 12 (LTS), Latest
Azure RM - PowerShell Commands Latest