Dela via


ISfcExecutionEngine.Execute Method

Executes the specified script. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function Execute ( _
    script As ISfcScript _
) As Object
'Usage
Dim instance As ISfcExecutionEngine
Dim script As ISfcScript
Dim returnValue As Object

returnValue = instance.Execute(script)
Object Execute(
    ISfcScript script
)
Object^ Execute(
    ISfcScript^ script
)
abstract Execute : 
        script:ISfcScript -> Object 
function Execute(
    script : ISfcScript
) : Object

Parameters

Return Value

Type: System.Object
An object that contains the result of the script execution.