Partilhar via


Método EnumScript

Retorna um objeto IEnumerable<string> que tem o script para os objetos passados

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

Sintaxe

'Declaração
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 de retorno

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

Comentários

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