SfcTsqlProcFormatter.GenerateScript Método (SfcInstance, IEnumerable<SfcTsqlProcFormatter.RuntimeArg>, Boolean)
No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Function GenerateScript ( _
sfcObject As SfcInstance, _
runtimeArgs As IEnumerable(Of SfcTsqlProcFormatter.RuntimeArg), _
declareArguments As Boolean _
) As String
'Uso
Dim instance As SfcTsqlProcFormatter
Dim sfcObject As SfcInstance
Dim runtimeArgs As IEnumerable(Of SfcTsqlProcFormatter.RuntimeArg)
Dim declareArguments As Boolean
Dim returnValue As String
returnValue = instance.GenerateScript(sfcObject, _
runtimeArgs, declareArguments)
public string GenerateScript(
SfcInstance sfcObject,
IEnumerable<SfcTsqlProcFormatter.RuntimeArg> runtimeArgs,
bool declareArguments
)
public:
String^ GenerateScript(
SfcInstance^ sfcObject,
IEnumerable<SfcTsqlProcFormatter.RuntimeArg>^ runtimeArgs,
bool declareArguments
)
member GenerateScript :
sfcObject:SfcInstance *
runtimeArgs:IEnumerable<SfcTsqlProcFormatter.RuntimeArg> *
declareArguments:bool -> string
public function GenerateScript(
sfcObject : SfcInstance,
runtimeArgs : IEnumerable<SfcTsqlProcFormatter.RuntimeArg>,
declareArguments : boolean
) : String
Parámetros
- sfcObject
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
The object of the SfcInstance.
- runtimeArgs
Tipo: System.Collections.Generic.IEnumerable<SfcTsqlProcFormatter.RuntimeArg>
The arguments during process.
- declareArguments
Tipo: System.Boolean
true to declare arguments; otherwise, false.
Valor devuelto
Tipo: System.String
The specified script to generate.