不要直接在程式碼中參照此成員。其支援 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<SfcTsqlProcFormatter.RuntimeArg>
The arguments during process.
- declareArguments
型別:System.Boolean
true to declare arguments; otherwise, false.
傳回值
型別:System.String
The specified script to generate.