Share via


AzureSqlManagedDatabaseBackupCmdletBase<TModel>.InstanceName Property

Definition

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

[Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters.ResourceNameCompleter("Microsoft.Sql/managedInstances", new System.String[] { "ResourceGroupName" })]
[System.Management.Automation.Parameter(HelpMessage="The name of the Azure SQL Managed Instance the database is in.", Mandatory=true, ParameterSetName="PolicyByResourceInstanceDatabaseSet", Position=1)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public virtual string InstanceName { get; set; }
[<Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters.ResourceNameCompleter("Microsoft.Sql/managedInstances", new System.String[] { "ResourceGroupName" })>]
[<System.Management.Automation.Parameter(HelpMessage="The name of the Azure SQL Managed Instance the database is in.", Mandatory=true, ParameterSetName="PolicyByResourceInstanceDatabaseSet", Position=1)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.InstanceName : string with get, set
Public Overridable Property InstanceName As String

Property Value

Attributes

Applies to