Synonym.Events Property

Gets the events that are supported by the synonym.

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

Syntax

'Declaration
Public ReadOnly Property Events As SynonymEvents 
    Get
'Usage
Dim instance As Synonym 
Dim value As SynonymEvents 

value = instance.Events
public SynonymEvents Events { get; }
public:
property SynonymEvents^ Events {
    SynonymEvents^ get ();
}
member Events : SynonymEvents
function get Events () : SynonymEvents

Property Value

Type: Microsoft.SqlServer.Management.Smo.SynonymEvents
A SynonymEvents object value that specifies the events supported by the synonym.

Examples

Using Synonyms

See Also

Reference

Synonym Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE SYNONYM (Transact-SQL)