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)

Syntax

'Declaration
Public Function ScriptTransfer As StringCollection
'Usage
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

Return Value

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