共用方式為


SfcTsqlProcFormatter.GenerateScript 方法 (SfcInstance, IEnumerable<SfcTsqlProcFormatter.RuntimeArg>)

Generates the script. 不要直接在程式碼中參照此成員。其支援 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) _
) As String
'用途
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

參數

傳回值

型別:System.String
The specified script.

請參閱

參考

SfcTsqlProcFormatter 類別

GenerateScript 多載

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間