Classe ViewEvent
The ViewEvent object represents the SQL Server view events that can be included in a view event set.
Gerarchia di ereditarietà
System.Object
Microsoft.SqlServer.Management.Smo.ViewEvent
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public NotInheritable Class ViewEvent
'Utilizzo
Dim instance As ViewEvent
public sealed class ViewEvent
public ref class ViewEvent sealed
[<SealedAttribute>]
type ViewEvent = class end
public final class ViewEvent
Nel tipo ViewEvent sono esposti i membri seguenti.
Proprietà
Nome | Descrizione | |
---|---|---|
AlterFulltextIndex | Gets a view event that can be included in the event set. | |
AlterIndex | Gets a view event that can be included in the event set. | |
AlterView | Gets a view event that can be included in the event set. | |
CreateFulltextIndex | Gets a view event that can be included in the event set. | |
CreateIndex | Gets a view event that can be included in the event set. | |
CreateSpatialIndex | Gets a view event that can be included in the event set. | |
CreateStatistics | Gets a view event that can be included in the event set. | |
CreateXmlIndex | Gets a view event that can be included in the event set. | |
DropFulltextIndex | Gets a view event that can be included in the event set. | |
DropIndex | Gets a view event that can be included in the event set. | |
DropStatistics | Gets a view event that can be included in the event set. | |
DropView | Gets a view event that can be included in the event set. | |
UpdateStatistics | Gets a view event that can be included in the event set. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
Add | Adds two view events to the event set. | |
BitwiseOr | Creates a view event set by combining two view events using a bitwise OR. | |
Equals | Determines whether the referenced view event object is equal to the specified object. Esegue l'override di Object.Equals(Object). | |
GetHashCode | This method supports the SQL Server infrastructure and is not intended to be used directly from your code. Esegue l'override di Object.GetHashCode(). | |
GetType | Ereditato da Object. | |
ToString | Returns the referenced object in string format. Esegue l'override di Object.ToString(). |
In alto
Operatori
Nome | Descrizione | |
---|---|---|
Addition | Creates a view event set by performing an addition operation on two ViewEvent objects. | |
BitwiseOr | Creates a view event set by performing a bitwise OR operation on two ViewEvent objects. | |
Equality | Creates a view event set by performing an equality operation on two ViewEvent objects. | |
Implicit(ViewEvent to ViewEventSet) | Casts a single view event as a view event set. | |
Inequality | Creates a view event set by performing an inequality operation on two ViewEvent objects. |
In alto
Osservazioni
The ViewEvent object contains a property for each event to which the view can respond. The actual set of events is specified using the ViewEventSet object.
Thread Safety
Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.
Esempi
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.