ServerEvent 类
The ServerEvent object represents the SQL Server server events that can be included in a server event set.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..ServerEvent
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public NotInheritable Class ServerEvent
用法
Dim instance As ServerEvent
public sealed class ServerEvent
public ref class ServerEvent sealed
[<SealedAttribute>]
type ServerEvent = class end
public final class ServerEvent
ServerEvent 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
AddRoleMember | Gets a server event that can be included in the event set. | |
AddServerRoleMember | Gets a server event that can be included in the event set. | |
AddSignature | ||
AddSignatureSchemaObject | ||
AlterApplicationRole | Gets a server event that can be included in the event set. | |
AlterAssembly | Gets a server event that can be included in the event set. | |
AlterAsymmetricKey | ||
AlterAuthorizationDatabase | Gets a server event that can be included in the event set. | |
AlterAuthorizationServer | Gets a server event that can be included in the event set. | |
AlterBrokerPriority | ||
AlterCertificate | Gets a server event that can be included in the event set. | |
AlterCredential | ||
AlterCryptographicProvider | ||
AlterDatabase | Gets a server event that can be included in the event set. | |
AlterDatabaseAuditSpecification | ||
AlterDatabaseEncryptionKey | ||
AlterEndpoint | Gets a server event that can be included in the event set. | |
AlterEventSession | ||
AlterExtendedProperty | ||
AlterFulltextCatalog | ||
AlterFulltextIndex | ||
AlterFulltextStoplist | ||
AlterFunction | Gets a server event that can be included in the event set. | |
AlterIndex | Gets a server event that can be included in the event set. | |
AlterInstance | ||
AlterLinkedServer | ||
AlterLogin | Gets a server event that can be included in the event set. | |
AlterMasterKey | ||
AlterMessage | ||
AlterMessageType | Gets a server event that can be included in the event set. | |
AlterPartitionFunction | Gets a server event that can be included in the event set. | |
AlterPartitionScheme | Gets a server event that can be included in the event set. | |
AlterPlanGuide | ||
AlterProcedure | Gets a server event that can be included in the event set. | |
AlterQueue | Gets a server event that can be included in the event set. | |
AlterRemoteServer | ||
AlterRemoteServiceBinding | Gets a server event that can be included in the event set. | |
AlterResourceGovernorConfig | ||
AlterResourcePool | ||
AlterRole | Gets a server event that can be included in the event set. | |
AlterRoute | Gets a server event that can be included in the event set. | |
AlterSchema | Gets a server event that can be included in the event set. | |
AlterServerAudit | ||
AlterServerAuditSpecification | ||
AlterService | Gets a server event that can be included in the event set. | |
AlterServiceMasterKey | ||
AlterSymmetricKey | ||
AlterTable | Gets a server event that can be included in the event set. | |
AlterTrigger | Gets a server event that can be included in the event set. | |
AlterUser | Gets a server event that can be included in the event set. | |
AlterView | Gets a server event that can be included in the event set. | |
AlterWorkloadGroup | ||
AlterXmlSchemaCollection | Gets a server event that can be included in the event set. | |
BindDefault | ||
BindRule | ||
CreateApplicationRole | Gets a server event that can be included in the event set. | |
CreateAssembly | Gets a server event that can be included in the event set. | |
CreateAsymmetricKey | ||
CreateBrokerPriority | ||
CreateCertificate | Gets a server event that can be included in the event set. | |
CreateContract | Gets a server event that can be included in the event set. | |
CreateCredential | ||
CreateCryptographicProvider | ||
CreateDatabase | Gets a server event that can be included in the event set. | |
CreateDatabaseAuditSpecification | ||
CreateDatabaseEncryptionKey | ||
CreateDefault | ||
CreateEndpoint | Gets a server event that can be included in the event set. | |
CreateEventNotification | Gets a server event that can be included in the event set. | |
CreateEventSession | ||
CreateExtendedProcedure | ||
CreateExtendedProperty | ||
CreateFulltextCatalog | ||
CreateFulltextIndex | ||
CreateFulltextStoplist | ||
CreateFunction | Gets a server event that can be included in the event set. | |
CreateIndex | Gets a server event that can be included in the event set. | |
CreateLinkedServer | ||
CreateLinkedServerLogin | ||
CreateLogin | Gets a server event that can be included in the event set. | |
CreateMasterKey | ||
CreateMessage | ||
CreateMessageType | Gets a server event that can be included in the event set. | |
CreatePartitionFunction | Gets a server event that can be included in the event set. | |
CreatePartitionScheme | Gets a server event that can be included in the event set. | |
CreatePlanGuide | ||
CreateProcedure | Gets a server event that can be included in the event set. | |
CreateQueue | Gets a server event that can be included in the event set. | |
CreateRemoteServer | ||
CreateRemoteServiceBinding | Gets a server event that can be included in the event set. | |
CreateResourcePool | ||
CreateRole | Gets a server event that can be included in the event set. | |
CreateRoute | Gets a server event that can be included in the event set. | |
CreateRule | ||
CreateSchema | Gets a server event that can be included in the event set. | |
CreateServerAudit | ||
CreateServerAuditSpecification | ||
CreateService | Gets a server event that can be included in the event set. | |
CreateSpatialIndex | ||
CreateStatistics | Gets a server event that can be included in the event set. | |
CreateSymmetricKey | ||
CreateSynonym | Gets a server event that can be included in the event set. | |
CreateTable | Gets a server event that can be included in the event set. | |
CreateTrigger | Gets a server event that can be included in the event set. | |
CreateType | Gets a server event that can be included in the event set. | |
CreateUser | Gets a server event that can be included in the event set. | |
CreateView | Gets a server event that can be included in the event set. | |
CreateWorkloadGroup | ||
CreateXmlIndex | Gets a server event that can be included in the event set. | |
CreateXmlSchemaCollection | Gets a server event that can be included in the event set. | |
DenyDatabase | Gets a server event that can be included in the event set. | |
DenyServer | Gets a server event that can be included in the event set. | |
DropApplicationRole | Gets a server event that can be included in the event set. | |
DropAssembly | Gets a server event that can be included in the event set. | |
DropAsymmetricKey | ||
DropBrokerPriority | ||
DropCertificate | Gets a server event that can be included in the event set. | |
DropContract | Gets a server event that can be included in the event set. | |
DropCredential | ||
DropCryptographicProvider | ||
DropDatabase | Gets a server event that can be included in the event set. | |
DropDatabaseAuditSpecification | ||
DropDatabaseEncryptionKey | ||
DropDefault | ||
DropEndpoint | Gets a server event that can be included in the event set. | |
DropEventNotification | Gets a server event that can be included in the event set. | |
DropEventSession | ||
DropExtendedProcedure | ||
DropExtendedProperty | ||
DropFulltextCatalog | ||
DropFulltextIndex | ||
DropFulltextStoplist | ||
DropFunction | Gets a server event that can be included in the event set. | |
DropIndex | Gets a server event that can be included in the event set. | |
DropLinkedServer | ||
DropLinkedServerLogin | ||
DropLogin | Gets a server event that can be included in the event set. | |
DropMasterKey | ||
DropMessage | ||
DropMessageType | Gets a server event that can be included in the event set. | |
DropPartitionFunction | Gets a server event that can be included in the event set. | |
DropPartitionScheme | Gets a server event that can be included in the event set. | |
DropPlanGuide | ||
DropProcedure | Gets a server event that can be included in the event set. | |
DropQueue | Gets a server event that can be included in the event set. | |
DropRemoteServer | ||
DropRemoteServiceBinding | Gets a server event that can be included in the event set. | |
DropResourcePool | ||
DropRole | Gets a server event that can be included in the event set. | |
DropRoleMember | Gets a server event that can be included in the event set. | |
DropRoute | Gets a server event that can be included in the event set. | |
DropRule | ||
DropSchema | Gets a server event that can be included in the event set. | |
DropServerAudit | ||
DropServerAuditSpecification | ||
DropServerRoleMember | Gets a server event that can be included in the event set. | |
DropService | Gets a server event that can be included in the event set. | |
DropSignature | ||
DropSignatureSchemaObject | ||
DropStatistics | Gets a server event that can be included in the event set. | |
DropSymmetricKey | ||
DropSynonym | Gets a server event that can be included in the event set. | |
DropTable | Gets a server event that can be included in the event set. | |
DropTrigger | Gets a server event that can be included in the event set. | |
DropType | Gets a server event that can be included in the event set. | |
DropUser | Gets a server event that can be included in the event set. | |
DropView | Gets a server event that can be included in the event set. | |
DropWorkloadGroup | ||
DropXmlSchemaCollection | Gets a server event that can be included in the event set. | |
GrantDatabase | Gets a server event that can be included in the event set. | |
GrantServer | Gets a server event that can be included in the event set. | |
Rename | ||
RevokeDatabase | Gets a server event that can be included in the event set. | |
RevokeServer | Gets a server event that can be included in the event set. | |
UnbindDefault | ||
UnbindRule | ||
UpdateStatistics | Gets a server event that can be included in the event set. |
页首
方法
名称 | 说明 | |
---|---|---|
Add | Returns a server event set after adding a new server event to the event set. | |
BitwiseOr | ||
Equals | Determines whether the referenced server event object is equal to a specified object. (覆盖 Object. . :: . .Equals(Object)。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | This method supports the SQL Server infrastructure and is not intended to be used directly from your code. (覆盖 Object. . :: . .GetHashCode() () () ()。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (覆盖 Object. . :: . .ToString() () () ()。) |
页首
运算符
名称 | 说明 | |
---|---|---|
Addition | Creates a server event set by performing an addition operation on two ServerEvent objects. | |
BitwiseOr | Creates a server event set by performing a bitwise OR operation on two ServerEvent objects. | |
Equality | Creates a server event set by performing an equality operation on two ServerEvent objects. | |
Implicit Widening Implicit Implicit Implicit(ServerEvent to ServerEventSet) | ||
Inequality | Creates a server event set by performing an inequality operation on two ServerEvent objects. |
页首
注释
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
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。