Transfer.PreserveLogins Property
Gets or sets the Boolean property that specifies whether to preserve logins in the transfer operation.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Property PreserveLogins As Boolean
Get
Set
'Usage
Dim instance As Transfer
Dim value As Boolean
value = instance.PreserveLogins
instance.PreserveLogins = value
public bool PreserveLogins { get; set; }
public:
property bool PreserveLogins {
bool get ();
void set (bool value);
}
member PreserveLogins : bool with get, set
function get PreserveLogins () : boolean
function set PreserveLogins (value : boolean)
Property Value
Type: System.Boolean
A Boolean value that specifies whether to preserve logins in the transfer operation.
If True, the logins are preserved. Otherwise, False (default).