EnumScript Método (ScriptingOptions)
Returns an IEnumerable<string> object that has the script for the passed objects.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Function EnumScript ( _
scriptingOptions As ScriptingOptions _
) As IEnumerable(Of String)
'Uso
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>
Parámetros
- scriptingOptions
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ScriptingOptions
ScriptingOptions
Valor devuelto
Tipo: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'String> ) > ) >
[T:System.Collections.Generic.IEnumerable<T>] Interface.
Notas
The scriptingOptions parameter is used to determine whether the schema and the data are included in the script.
Vea también