Compartir a través de


EnumScript Método

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 As IEnumerable(Of String)
'Uso
Dim instance As Table
Dim returnValue As IEnumerable(Of String)

returnValue = instance.EnumScript()
public IEnumerable<string> EnumScript()
public:
IEnumerable<String^>^ EnumScript()
member EnumScript : unit -> IEnumerable<string> 
public function EnumScript() : IEnumerable<String>

Valor devuelto

Tipo: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'String> ) > ) >
[T:System.Collections.Generic.IEnumerable<T>] Interface.

Notas

The interface that is returned contains the script for the schema only.