TransferBase.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 TransferBase 
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
The Transact-SQL script for transfer operation.

See Also

Reference

TransferBase Class

Microsoft.SqlServer.Management.Smo Namespace