مشاركة عبر


ServerGroup.DuplicateFound Event

An event raised if a duplicate registered server group is encountered.

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

Syntax

'Declaration
Public Event DuplicateFound As EventHandler(Of DuplicateFoundEventArgs)
'Usage
Dim instance As ServerGroup 
Dim handler As EventHandler(Of DuplicateFoundEventArgs)

AddHandler instance.DuplicateFound, handler
public event EventHandler<DuplicateFoundEventArgs> DuplicateFound
public:
 event EventHandler<DuplicateFoundEventArgs^>^ DuplicateFound {
    void add (EventHandler<DuplicateFoundEventArgs^>^ value);
    void remove (EventHandler<DuplicateFoundEventArgs^>^ value);
}
member DuplicateFound : IEvent<EventHandler<DuplicateFoundEventArgs>,
    DuplicateFoundEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

ServerGroup Class

Microsoft.SqlServer.Management.RegisteredServers Namespace