DuplicateFoundEventArgs Class

The event that is raised when a user attempts to import a registered server or server group that already exists in the local store.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.SqlServer.Management.RegisteredServers.DuplicateFoundEventArgs

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntax

'Declaration
Public Class DuplicateFoundEventArgs _
    Inherits EventArgs
'Usage
Dim instance As DuplicateFoundEventArgs
public class DuplicateFoundEventArgs : EventArgs
public ref class DuplicateFoundEventArgs : public EventArgs
type DuplicateFoundEventArgs =  
    class 
        inherit EventArgs 
    end
public class DuplicateFoundEventArgs extends EventArgs

The DuplicateFoundEventArgs type exposes the following members.

Constructors

  Name Description
Public method DuplicateFoundEventArgs Initializes a DuplicateFoundEventArgs object when a user attempts to import a registered server or server group that already exists in the local store.

Top

Properties

  Name Description
Public property ApplyToAll Gets or sets a Boolean value that specifies whether the user had specified the applies to all option before.
Public property Cancel Gets or sets a Boolean value that specifies whether the user has requested that the operation be cancelled.
Public property Confirm Gets or sets a Boolean value that specifies the confirmation state to use if the user previously specified the applies to all option.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.RegisteredServers Namespace