Share via


AzureSqlDatabaseRecommendedActionCmdletBase.DatabaseName Property

Definition

Gets or sets the name of the database.

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

Property Value

Attributes

Applies to