Transfer.ScriptTransfer Method

Creates a Transact-SQL command batch script that creates database objects that are transferred by the transfer operation.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)


Public Function ScriptTransfer As StringCollection
Dim instance As Transfer
Dim returnValue As StringCollection

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

Return Value

Type: System.Collections.Specialized.StringCollection
A StringCollection system object that contains the Transact-SQL script for transfer operation.