Método GenerateScript (SfcInstance, IEnumerable(SfcTsqlProcFormatter.RuntimeArg))
Generates the script. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxe
'Declaração
Public Function GenerateScript ( _
sfcObject As SfcInstance, _
runtimeArgs As IEnumerable(Of SfcTsqlProcFormatter..::..RuntimeArg) _
) As String
'Uso
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
Parâmetros
- sfcObject
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
The object of an instance.
- runtimeArgs
Tipo: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'SfcTsqlProcFormatter. . :: . .RuntimeArg> ) > ) >
The runtime arguments.
Valor de retorno
Tipo: System. . :: . .String
The specified script.
Consulte também