Поделиться через


Метод 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.