title: Set option 9 in SQL Server stored procedure using WinHttp.WinHttpRequest.5.1 for TLS 1.2
body: <p>I am trying to connect to a web service that only supports TLS 1.2. I'm having trouble with the syntax for setting option9 (<code>WinHttpRequestOption_SecureProtocols</code>) to use TLS 1.2</p>
  
  <p>I've tried </p>
  
  <pre><code>EXEC sp_OASetProperty @objectID, 'Option', '2720', 9
  </code></pre>
  
  <p>but no dice.</p>