Dela via


SfcTsqlProcFormatter.GenerateScript Method (SfcInstance, IEnumerable<SfcTsqlProcFormatter.RuntimeArg>)

Generates the 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
Public Function GenerateScript ( _
    sfcObject As SfcInstance, _
    runtimeArgs As IEnumerable(Of SfcTsqlProcFormatter..::..RuntimeArg) _
) As String
'Usage
Dim instance As SfcTsqlProcFormatter
Dim sfcObject As SfcInstance
Dim runtimeArgs As IEnumerable(Of SfcTsqlProcFormatter..::..RuntimeArg)
Dim returnValue As String

returnValue = instance.GenerateScript(sfcObject, _
    runtimeArgs)
public string GenerateScript(
    SfcInstance sfcObject,
    IEnumerable<SfcTsqlProcFormatter..::..RuntimeArg> runtimeArgs
)
public:
String^ GenerateScript(
    SfcInstance^ sfcObject, 
    IEnumerable<SfcTsqlProcFormatter..::..RuntimeArg>^ runtimeArgs
)
member GenerateScript : 
        sfcObject:SfcInstance * 
        runtimeArgs:IEnumerable<SfcTsqlProcFormatter..::..RuntimeArg> -> string 
public function GenerateScript(
    sfcObject : SfcInstance, 
    runtimeArgs : IEnumerable<SfcTsqlProcFormatter..::..RuntimeArg>
) : String

Parameters

Return Value

Type: System.String
The specified script.