Méthode SfcTsqlProcFormatter.GenerateScript (SfcInstance, IEnumerable<SfcTsqlProcFormatter.RuntimeArg>, Boolean)
Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Function GenerateScript ( _
sfcObject As SfcInstance, _
runtimeArgs As IEnumerable(Of SfcTsqlProcFormatter.RuntimeArg), _
declareArguments As Boolean _
) As String
'Utilisation
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
Paramètres
- sfcObject
Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
The object of the SfcInstance.
- runtimeArgs
Type : System.Collections.Generic.IEnumerable<SfcTsqlProcFormatter.RuntimeArg>
The arguments during process.
- declareArguments
Type : System.Boolean
true to declare arguments; otherwise, false.
Valeur de retour
Type : System.String
The specified script to generate.