Share via


SfcTsqlProcFormatter.GenerateScript Method (SfcInstance)

Generates the objects in the script. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Function GenerateScript ( _
    sfcObject As SfcInstance _
) As String
'Usage
Dim instance As SfcTsqlProcFormatter
Dim sfcObject As SfcInstance
Dim returnValue As String

returnValue = instance.GenerateScript(sfcObject)
public string GenerateScript(
    SfcInstance sfcObject
)
public:
String^ GenerateScript(
    SfcInstance^ sfcObject
)
member GenerateScript : 
        sfcObject:SfcInstance -> string 
public function GenerateScript(
    sfcObject : SfcInstance
) : String

Parameters

Return Value

Type: System.String
The objects in the script.