ServerEvent-Klasse

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

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Management.Smo.ServerEvent

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

Syntax

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

Der ServerEvent-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche EigenschaftStatisches Element AddRoleMember Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AddServerRoleMember Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AddSignature Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AddSignatureSchemaObject Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterApplicationRole Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterAssembly Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterAsymmetricKey Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterAuthorizationDatabase Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterAuthorizationServer Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterAvailabilityGroup Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterBrokerPriority Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterCertificate Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterCredential Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterCryptographicProvider Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterDatabase Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterDatabaseAuditSpecification Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterDatabaseEncryptionKey Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterEndpoint Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterEventSession Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterExtendedProperty Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterFulltextCatalog Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterFulltextIndex Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterFulltextStoplist Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterFunction Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterIndex Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterInstance Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterLinkedServer Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterLogin Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterMasterKey Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterMessage Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterMessageType Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterPartitionFunction Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterPartitionScheme Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterPlanGuide Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterProcedure Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterQueue Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterRemoteServer Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterRemoteServiceBinding Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterResourceGovernorConfig Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterResourcePool Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterRole Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterRoute Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterSchema Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterSearchPropertyList Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterSequence Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterServerAudit Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterServerAuditSpecification Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterServerConfiguration Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterServerRole Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterService Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterServiceMasterKey Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterSymmetricKey Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterTable Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterTrigger Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterUser Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterView Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterWorkloadGroup Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element AlterXmlSchemaCollection Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element BindDefault Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element BindRule Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateApplicationRole Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateAssembly Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateAsymmetricKey Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateAvailabilityGroup Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateBrokerPriority Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateCertificate Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateContract Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateCredential Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateCryptographicProvider Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateDatabase Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateDatabaseAuditSpecification Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateDatabaseEncryptionKey Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateDefault Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateEndpoint Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateEventNotification Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateEventSession Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateExtendedProcedure Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateExtendedProperty Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateFulltextCatalog Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateFulltextIndex Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateFulltextStoplist Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateFunction Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateIndex Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateLinkedServer Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateLinkedServerLogin Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateLogin Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateMasterKey Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateMessage Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateMessageType Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreatePartitionFunction Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreatePartitionScheme Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreatePlanGuide Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateProcedure Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateQueue Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateRemoteServer Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateRemoteServiceBinding Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateResourcePool Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateRole Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateRoute Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateRule Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateSchema Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateSearchPropertyList Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateSequence Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateServerAudit Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateServerAuditSpecification Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateServerRole Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateService Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateSpatialIndex Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateStatistics Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateSymmetricKey Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateSynonym Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateTable Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateTrigger Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateType Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateUser Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateView Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateWorkloadGroup Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateXmlIndex Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element CreateXmlSchemaCollection Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DenyDatabase Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DenyServer Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropApplicationRole Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropAssembly Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropAsymmetricKey Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropAvailabilityGroup Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropBrokerPriority Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropCertificate Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropContract Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropCredential Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropCryptographicProvider Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropDatabase Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropDatabaseAuditSpecification Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropDatabaseEncryptionKey Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropDefault Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropEndpoint Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropEventNotification Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropEventSession Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropExtendedProcedure Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropExtendedProperty Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropFulltextCatalog Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropFulltextIndex Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropFulltextStoplist Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropFunction Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropIndex Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropLinkedServer Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropLinkedServerLogin Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropLogin Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropMasterKey Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropMessage Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropMessageType Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropPartitionFunction Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropPartitionScheme Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropPlanGuide Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropProcedure Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropQueue Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropRemoteServer Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropRemoteServiceBinding Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropResourcePool Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropRole Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropRoleMember Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropRoute Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropRule Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSchema Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSearchPropertyList Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSequence Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropServerAudit Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropServerAuditSpecification Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropServerRole Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropServerRoleMember Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropService Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSignature Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSignatureSchemaObject Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropStatistics Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSymmetricKey Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropSynonym Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropTable Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropTrigger Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropType Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropUser Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropView Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropWorkloadGroup Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element DropXmlSchemaCollection Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element GrantDatabase Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element GrantServer Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element Rename Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element RevokeDatabase Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element RevokeServer Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element UnbindDefault Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element UnbindRule Gets a server event that can be included in the event set.
Öffentliche EigenschaftStatisches Element UpdateStatistics Gets a server event that can be included in the event set.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche MethodeStatisches Element Add Returns a server event set after adding a new server event to the event set.
Öffentliche MethodeStatisches Element BitwiseOr Returns a ServerEventSet as a result of a bitwise OR operation on two ServerEvent objects.
Öffentliche Methode Equals Determines whether the referenced server 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.Serves as a hash function, suitable for use in hashing algorithms and data structures like a hash table. (Ü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 server event set by performing an addition operation on two ServerEvent objects.
Öffentlicher OperatorStatisches Element BitwiseOr Creates a server event set by performing a bitwise OR operation on two ServerEvent objects.
Öffentlicher OperatorStatisches Element Equality Creates a server event set by performing an equality operation on two ServerEvent objects.
Öffentlicher OperatorStatisches Element Implicit(ServerEvent to ServerEventSet) Creates a server event set by performing an implicit operation on a ServerEvent object.
Öffentlicher OperatorStatisches Element Inequality Creates a server event set by performing an inequality operation on two ServerEvent objects.

Zum Anfang

Hinweise

The ServerEvent object contains a property for each event to which the instance of SQL Server can respond. The actual set of events is specified using the ServerEventSet 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