Skip to content

Commit d18d2ee

Browse files
committed
Added ValidateSet for SampleName
1 parent 5051aed commit d18d2ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Sql/Commands.Sql/Database/Cmdlet/NewAzureSqlDatabase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public class NewAzureSqlDatabase : AzureSqlDatabaseCmdletBase<AzureSqlDatabaseCr
102102

103103
[Parameter(Mandatory = false,
104104
HelpMessage = "The name of the sample schema to apply when creating this database.")]
105-
[ValidateNotNullOrEmpty]
105+
[ValidateSet(Management.Sql.Models.SampleName.AdventureWorksLT)]
106106
public string SampleName { get; set; }
107107

108108
/// <summary>

0 commit comments

Comments
 (0)