Méthode Table.EnumScript (ScriptingOptions)
Returns an IEnumerable<string> object that has the script for the passed objects.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function EnumScript ( _
scriptingOptions As ScriptingOptions _
) As IEnumerable(Of String)
'Utilisation
Dim instance As Table
Dim scriptingOptions As ScriptingOptions
Dim returnValue As IEnumerable(Of String)
returnValue = instance.EnumScript(scriptingOptions)
public IEnumerable<string> EnumScript(
ScriptingOptions scriptingOptions
)
public:
IEnumerable<String^>^ EnumScript(
ScriptingOptions^ scriptingOptions
)
member EnumScript :
scriptingOptions:ScriptingOptions -> IEnumerable<string>
public function EnumScript(
scriptingOptions : ScriptingOptions
) : IEnumerable<String>
Paramètres
- scriptingOptions
Type : Microsoft.SqlServer.Management.Smo.ScriptingOptions
ScriptingOptions
Valeur de retour
Type : System.Collections.Generic.IEnumerable<String>
[T:System.Collections.Generic.IEnumerable<T>] Interface.
Notes
The scriptingOptions parameter is used to determine whether the schema and the data are included in the script.