Microsoft.SqlServer.TransferLoginsTask
The namespace contains the classes and enumerations that allow you to copy one or more SQL Server logins from one instance of SQL Server to another.
Contains values used by the property of the to determine how to handle a transfer when the login exists at the destination.
Causes the task to fail if the same login exists at the destination.
Overwrites the login if the same login exists at the destination.
Skips the transfer of a login if the same login exists at the destination.
Specifies which logins to transfer.
Transfer all logins.
Transfer logins that have access to specific databases. The specific logins are found in the .
Transfer only specific logins. The list is retrieved from the property.
Provides the members and enumerations that allow you to transfer SQL Server logins from one instance of SQL Server to another.
Initializes a new instance of the class.
Passes a to a task. This method is called by the runtime and is not used in code.
The breakpoint manager specific for this task.
Runs the task.
A value from the enumeration.
A collection of connections used by the task.
A object for locking variables.
An object that implements the interface.
An object that implements the interface.
The transaction object that the container is a part of. This value can be null.
Initializes the properties associated with the task. This method is called by the runtime and is not used in code.
A collection of connections used by the task.
A object for locking variables.
An object that implements the interface.
An object that implements the interface.
A collection that contains events to be raised during execution of the task.
A collection of log entries.
An object reference tracker.
This method is not callable by your application code. To load a package saved as .xml, use the method.
The node that contains the information to be loaded.
An object that implements the interface for raising events (errors, warnings, and so on) during persistence.
Resumes execution of the task after pausing. The task or container is resumed by the run-time engine.
This method is not callable by your application code. To save a package as .xml, use the method.
The XML document to which to save the information.
An object that implements the interface for raising events (errors, warnings, and so on) during persistence.
Indicates that the executable needs to suspend. This method is called by the run-time engine.
Verifies that the component is properly configured.
A value from the enumeration.
A collection of connections used by the task.
A object for locking variables.
An object that implements the interface.
An object that implements the interface.
Gets or setsa Boolean indicating whether the security identifiers associated with the logins should be copied to the destination.
true if the security identifiers associated with the logins are copied.
Gets or sets a StringCollection containing the databases on the source server that contain logins to be copied to the destination server.
A StringCollection that lists the databases on the source server that contains the logins to be copied to the destination server.
Indicates whether a task should check if breakpoints are enabled. This property is set by the run-time engine.
true if the task should check if breakpoints are enabled; false if the task can skip checking for breakpoints.
Gets or sets a String containing the name of the SMO connection manager for the destination database.
A String that contains the SMO connection manager.
Returns an object containing the number of logins that were transferred.
An object that contains the number of logins that were transferred.
Gets or sets a value from the enumeration indicating whether the task should fail, ignore the existing login, or skip the transfer of the login, if a login of the same name exists at the destination.
A value from the enumeration.
Gets or sets a StringCollection that contains the names of the logins to transfer.
A StringCollection that contains the names of the logins to transfer.
Gets or sets a value from the enumeration indicating which logins to transfer.
A value from the enumeration.
Gets or sets a String containing the name of the SMO connection manager for the source database.
A String that contains the connection string of the SMO connection manager.
Gets or sets a Boolean indicating whether a task should suspend when it encounters a breakpoint. This value is set by the run-time engine for the tasks and containers when a breakpoint is encountered
true if the task suspends when it encounters a breakpoint.
The exception that is thrown at load time if the persisted name of the XML root node of the task is corrupt.