3.1.4.6 PublishScript

The following example shows the XSD for the PublishData operation request.

     <wsdl:operation name="PublishScript">
       <wsdl:input message="tns:PublishScriptSoapIn" />
       <wsdl:output message="tns:PublishScriptSoapOut" />
     </wsdl:operation>

The PublishScript operation executes the passed-in string as a Transact-SQL script against the database. PublishScript can be invoked only if the service is in the "Publish" state (set by calling BeginPublish).

For more information about Transact-SQL, see [MSDN-Transact-SQLRef].