GenerateScript 方法 (SfcInstance, IEnumerable(SfcTsqlProcFormatter.RuntimeArg), Boolean)
不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Function GenerateScript ( _
sfcObject As SfcInstance, _
runtimeArgs As IEnumerable(Of SfcTsqlProcFormatter..::..RuntimeArg), _
declareArguments As Boolean _
) As String
用法
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
参数
- sfcObject
类型:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
The object of the SfcInstance.
- runtimeArgs
类型:System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'SfcTsqlProcFormatter. . :: . .RuntimeArg> ) > ) >
The arguments during process.
- declareArguments
类型:System. . :: . .Boolean
true to declare arguments; otherwise, false.
返回值
类型:System. . :: . .String
The specified script to generate.