Metodo GenerateScript (SfcInstance, IEnumerable(SfcTsqlProcFormatter.RuntimeArg), Boolean)
Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintassi
'Dichiarazione
Public Function GenerateScript ( _
sfcObject As SfcInstance, _
runtimeArgs As IEnumerable(Of SfcTsqlProcFormatter..::..RuntimeArg), _
declareArguments As Boolean _
) As String
'Utilizzo
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
Parametri
- sfcObject
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
The object of the SfcInstance.
- runtimeArgs
Tipo: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'SfcTsqlProcFormatter. . :: . .RuntimeArg> ) > ) >
The arguments during process.
- declareArguments
Tipo: System. . :: . .Boolean
true to declare arguments; otherwise, false.
Valore restituito
Tipo: System. . :: . .String
The specified script to generate.
Vedere anche