Udostępnij za pośrednictwem


Metoda Transfer.ScriptTransfer

Tworzy Transact-SQL polecenia partia skrypt, który tworzy obiekty bazy danych, które są transferowane przez operację przeniesienia.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.SmoExtended (w Microsoft.SqlServer.SmoExtended.dll)

Składnia

'Deklaracja
Public Function ScriptTransfer As StringCollection
'Użycie
Dim instance As Transfer
Dim returnValue As StringCollection

returnValue = instance.ScriptTransfer()
public StringCollection ScriptTransfer()
public:
StringCollection^ ScriptTransfer()
member ScriptTransfer : unit -> StringCollection 
public function ScriptTransfer() : StringCollection

Wartość zwracana

Typ: System.Collections.Specialized.StringCollection
A StringCollection obiektu systemu, który zawiera Transact-SQL skrypt dla operacji transferu.

Przykłady

Transfer danych