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
- sfcObject
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
The object of an instance.
- runtimeArgs
Type: System.Collections.Generic.IEnumerable<SfcTsqlProcFormatter.RuntimeArg>
The runtime arguments.
Return Value
Type: System.String
The specified script.