你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ImportExportCmdletBase.ServerName Property

Definition

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="SQL Database server name.", Mandatory=true, Position=1, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string ServerName { get; set; }
[System.Management.Automation.Parameter(HelpMessage="SQL Database server name.", Mandatory=true, Position=1, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string ServerName { get; set; }
[<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>]
member this.ServerName : string with get, set
[<System.Management.Automation.Parameter(HelpMessage="SQL Database server name.", Mandatory=true, Position=1, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.ServerName : string with get, set
Public Property ServerName As String

Property Value

Attributes

Applies to