Classe ServerEvent

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class ServerEvent
'Utilisation
Dim instance As ServerEvent
public sealed class ServerEvent
public ref class ServerEvent sealed
[<SealedAttribute>]
type ServerEvent =  class end
public final class ServerEvent

Le type ServerEvent expose les membres suivants.

Propriétés

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

Haut de la page

Méthodes

  Nom Description
Méthode publiqueMembre statique Add Returns a server event set after adding a new server event to the event set.
Méthode publiqueMembre statique BitwiseOr Returns a ServerEventSet as a result of a bitwise OR operation on two ServerEvent objects.
Méthode publique Equals Determines whether the referenced server event object is equal to a specified object. (remplace Object.Equals(Object).)
Méthode publique GetHashCode Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.Serves as a hash function, suitable for use in hashing algorithms and data structures like a hash table. (remplace Object.GetHashCode().)
Méthode publique GetType (hérité de Object.)
Méthode publique ToString Returns the referenced object in string format. (remplace Object.ToString().)

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Addition Creates a server event set by performing an addition operation on two ServerEvent objects.
Opérateur publicMembre statique BitwiseOr Creates a server event set by performing a bitwise OR operation on two ServerEvent objects.
Opérateur publicMembre statique Equality Creates a server event set by performing an equality operation on two ServerEvent objects.
Opérateur publicMembre statique Implicit(ServerEvent to ServerEventSet) Creates a server event set by performing an implicit operation on a ServerEvent object.
Opérateur publicMembre statique Inequality Creates a server event set by performing an inequality operation on two ServerEvent objects.

Haut de la page

Notes

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

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Exemples

Gestion des événements SMO

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Management.Smo