Skip to content

Commit 2a4ebda

Browse files
committed
Update ValidateRange attribute for TraceFlag parameter to use System.UInt32 for consistency and clarity
1 parent 9338719 commit 2a4ebda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Public/Add-SqlDscTraceFlag.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function Add-SqlDscTraceFlag
7272
$InstanceName = 'MSSQLSERVER',
7373

7474
[Parameter(Mandatory = $true)]
75-
[ValidateRange(1, [UInt32]::MaxValue)]
75+
[ValidateRange(1, [System.UInt32]::MaxValue)]
7676
[System.UInt32[]]
7777
$TraceFlag,
7878

0 commit comments

Comments
 (0)