AffinityInfoBase.Script Method (ScriptingOptions)

 

Generates a Transact-SQL script.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public StringCollection Script(
	ScriptingOptions so
)

Parameters

so
Type: Microsoft.SqlServer.Management.Smo.ScriptingOptions

The script options.

Return Value

Type: System.Collections.Specialized.StringCollection

A Transact-SQL script.

Return to top
Show: