Share via


AzureSqlSyncAgentCmdletBase.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="The name of the Azure SQL Server the sync agent is in.", Mandatory=true, Position=1, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string ServerName { get; set; }
[System.Management.Automation.Parameter(HelpMessage="The name of the Azure SQL Server the sync agent is in.", 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="The name of the Azure SQL Server the sync agent is in.", Mandatory=true, Position=1, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.ServerName : string with get, set
[<System.Management.Automation.Parameter(HelpMessage="The name of the Azure SQL Server the sync agent is in.", 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