DatabaseEvent-Klasse

The DatabaseEvent object represents the SQL Server database events that can be included in a database event set.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Management.Smo.DatabaseEvent

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

Syntax

'Declaration
Public NotInheritable Class DatabaseEvent
'Usage
Dim instance As DatabaseEvent
public sealed class DatabaseEvent
public ref class DatabaseEvent sealed
[<SealedAttribute>]
type DatabaseEvent =  class end
public final class DatabaseEvent

Der DatabaseEvent-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche EigenschaftStatisches Element AddRoleMember Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AddSignature Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AddSignatureSchemaObject Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterApplicationRole Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterAssembly Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterAsymmetricKey Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterAuthorizationDatabase Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterBrokerPriority Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterCertificate Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterDatabaseAuditSpecification Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterDatabaseEncryptionKey Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterExtendedProperty Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterFulltextCatalog Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterFulltextIndex Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterFulltextStoplist Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterFunction Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterIndex Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterMasterKey Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterMessageType Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterPartitionFunction Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterPartitionScheme Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterPlanGuide Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterProcedure Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterQueue Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterRemoteServiceBinding Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterRole Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterRoute Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterSchema Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterSearchPropertyList Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterSequence Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterService Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterSymmetricKey Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterTable Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterTrigger Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterUser Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterView Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterXmlSchemaCollection Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element BindDefault Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element BindRule Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateApplicationRole Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateAssembly Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateAsymmetricKey Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateBrokerPriority Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateCertificate Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateContract Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateDatabaseAuditSpecification Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateDatabaseEncryptionKey Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateDefault Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateEventNotification Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateExtendedProperty Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateFulltextCatalog Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateFulltextIndex Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateFulltextStoplist Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateFunction Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateIndex Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateMasterKey Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateMessageType Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreatePartitionFunction Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreatePartitionScheme Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreatePlanGuide Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateProcedure Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateQueue Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateRemoteServiceBinding Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateRole Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateRoute Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateRule Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateSchema Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateSearchPropertyList Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateSequence Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateService Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateSpatialIndex Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateStatistics Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateSymmetricKey Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateSynonym Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateTable Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateTrigger Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateType Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateUser Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateView Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateXmlIndex Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateXmlSchemaCollection Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DenyDatabase Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropApplicationRole Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropAssembly Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropAsymmetricKey Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropBrokerPriority Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropCertificate Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropContract Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropDatabase Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropDatabaseAuditSpecification Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropDatabaseEncryptionKey Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropDefault Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropEventNotification Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropExtendedProperty Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropFulltextCatalog Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropFulltextIndex Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropFulltextStoplist Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropFunction Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropIndex Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropMasterKey Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropMessageType Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropPartitionFunction Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropPartitionScheme Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropPlanGuide Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropProcedure Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropQueue Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropRemoteServiceBinding Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropRole Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropRoleMember Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropRoute Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropRule Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSchema Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSearchPropertyList Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSequence Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropService Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSignature Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSignatureSchemaObject Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropStatistics Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSymmetricKey Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSynonym Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropTable Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropTrigger Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropType Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropUser Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropView Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropXmlSchemaCollection Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element GrantDatabase Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element Rename Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element RevokeDatabase Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element UnbindDefault Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element UnbindRule Gets a database event that can be included in the event set.
Öffentliche EigenschaftStatisches Element UpdateStatistics Gets a database event that can be included in the event set.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche MethodeStatisches Element Add Returns the database event set that was created by adding two database events together.
Öffentliche MethodeStatisches Element BitwiseOr Creates a database event set by performing a bitwise OR operation on two DatabaseEvent objects.
Öffentliche Methode Equals Determines whether the referenced database event object is equal to a specified object. (Überschreibt Object.Equals(Object).)
Öffentliche Methode GetHashCode Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt Object.GetHashCode().)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode ToString Returns the referenced object in string format. (Überschreibt Object.ToString().)

Zum Anfang

Operatoren

  Name Beschreibung
Öffentlicher OperatorStatisches Element Addition Creates a database event set by performing an addition operation on two DatabaseEvent objects.
Öffentlicher OperatorStatisches Element BitwiseOr Creates a database event set by performing a bitwise OR operation on two DatabaseEvent objects.
Öffentlicher OperatorStatisches Element Equality Creates a database event set by performing an equality operation on two DatabaseEvent objects.
Öffentlicher OperatorStatisches Element Implicit(DatabaseEvent to DatabaseEventSet) Creates a database event set by performing an implicit operation on a DatabaseEvent object.
Öffentlicher OperatorStatisches Element Inequality Creates a database event set by performing an inequality operation on two DatabaseEvent objects.

Zum Anfang

Hinweise

The DatabaseEvent object contains a property for each event to which the database can respond. The actual set of events is specified by using the DatabaseEventSet object.

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Beispiele

Behandeln von SMO-Ereignissen

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace