Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Modules/VMware.Hv.Helper/VMware.HV.Helper.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ function Connect-HVEvent {
Write-Error "Unsupported type recieved for dbPassword: [$dbPassword]. dbpassword should SecureString type."
break
}
$connectionString = "Data Source=$dbServer, $dbPort; Initial Catalog=$dbName;"
$connectionString = "Data Source=$dbServer, $dbPort; Initial Catalog=$dbName; multiSubnetFailover=True"
$connection = New-Object System.Data.SqlClient.SqlConnection ($connectionString)
$password.MakeReadOnly()
$connection.Credential = New-Object System.Data.SqlClient.SqlCredential($dbUserName, $password);
Expand Down