AzureSqlDatabaseCmdletBase<M,A>.DatabaseName Property

Definition

Gets or sets the name of the database to use.

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

Property Value

Attributes

Applies to