Condividi tramite


Metodo EnumScript

Restituisce un oggetto IEnumerable<string> con lo script per gli oggetti passati.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function EnumScript As IEnumerable(Of String)
'Utilizzo
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>

Valore restituito

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

Osservazioni

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