Condividi tramite


Metodo Script

Generates a Transact-SQL script that can be used to re-create the OLE DB provider settings

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

Sintassi

'Dichiarazione
Public Function Script As StringCollection
'Utilizzo
Dim instance As OleDbProviderSettings
Dim returnValue As StringCollection

returnValue = instance.Script()
public StringCollection Script()
public:
virtual StringCollection^ Script() sealed
abstract Script : unit -> StringCollection 
override Script : unit -> StringCollection 
public final function Script() : StringCollection

Valore restituito

Tipo: System.Collections.Specialized. . :: . .StringCollection
StringCollection containing a list of executable Transact-SQL statements.

Implementa

IScriptable. . :: . .Script() () () ()