Skip to content

Commit 70b0328

Browse files
committed
Add support for increasing timeout when using a connection string.
1 parent 7ce7265 commit 70b0328

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

unicorn/SPE/Scripts/SPE/SPE/Core/Platform/Functions/Invoke-SqlCommand.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ SharedFields:
8888
[string]$Database,
8989
9090
[Parameter(Mandatory=$false, Position=2,ParameterSetName="Server")]
91+
[Parameter(Mandatory=$false, ParameterSetName="Connection")]
9192
[int]$Timeout=30,
9293
93-
[Parameter(Mandatory=$true,ParameterSetName="Connection")]
94+
[Parameter(Mandatory=$true, ParameterSetName="Connection")]
9495
[System.Data.SqlClient.SQLConnection]$Connection,
9596
9697
[string]$Username,
@@ -236,4 +237,4 @@ Languages:
236237
Value: 20150703T004942
237238
- ID: "8cdc337e-a112-42fb-bbb4-4143751e123f"
238239
Hint: __Revision
239-
Value: "1dce6d45-28a5-4c03-ae85-c120d686f07a"
240+
Value: "25d766ad-14bc-4c2a-85a7-644530a9b6c3"

0 commit comments

Comments
 (0)