Transfer.CreateTargetDatabase Property

Gets or sets the Boolean property value that specifies whether the target database is created in the transfer operation.

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

public bool CreateTargetDatabase { get; set; }

Property Value

Type: System.Boolean
A Boolean value that specifies whether the target database is created in the transfer operation.
If True, the target database is created in the transfer operation. Otherwise, False (default).

Community Additions

ADD
Show: