Membres MessageType
The MessageType object represents a message type that defines the content of messages.
Le type MessageType expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
MessageType() () () () | Initializes a new instance of the MessageType class. |
![]() |
MessageType(ServiceBroker, String) | Initializes a new instance of the MessageType class on the specified implementation of Service Broker and with the specified name. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
![]() |
AddDatabaseContext | (Hérité de SqlSmoObject.) |
![]() |
Alter | Updates any MessageType object property changes on instance of Microsoft SQL Server. |
![]() |
AlterImpl | (Hérité de SqlSmoObject.) |
![]() |
AlterImplFinish | (Hérité de SqlSmoObject.) |
![]() |
AlterImplInit | (Hérité de SqlSmoObject.) |
![]() |
AlterImplWorker | (Hérité de SqlSmoObject.) |
![]() |
AppendCommaText | (Hérité de ScriptNameObjectBase.) |
![]() |
AppendWithCommaText | (Hérité de ScriptNameObjectBase.) |
![]() |
AppendWithOption | (Hérité de ScriptNameObjectBase.) |
![]() |
BindDefaultImpl | (Hérité de SqlSmoObject.) |
![]() |
BindRuleImpl | (Hérité de SqlSmoObject.) |
![]() |
CheckCollation | (Hérité de SqlSmoObject.) |
![]() |
CheckObjectDirty | (Hérité de ScriptNameObjectBase.) |
![]() |
CheckObjectState() () () () | Validates the state of the referenced object. (Hérité de SqlSmoObject.) |
![]() |
CheckObjectState(Boolean) | Validates the state of the referenced object with the option to specify that an exception is thrown if the object is not yet created. (Hérité de SqlSmoObject.) |
![]() |
CheckObjectStateImpl | (Hérité de SqlSmoObject.) |
![]() |
CheckTextCorectness | (Hérité de ScriptNameObjectBase.) |
![]() |
CheckTextModeSupport | (Hérité de ScriptNameObjectBase.) |
![]() |
CheckVersion100 | (Hérité de SqlSmoObject.) |
![]() |
CheckVersion80 | Checks the validity of the object on SQL Server 2000. (Hérité de SqlSmoObject.) |
![]() |
CheckVersion80SP3 | Checks the validity of the object on SQL Server 2000 SP3. (Hérité de SqlSmoObject.) |
![]() |
CheckVersion90 | Check the validity of the object on SQL Server 2005. (Hérité de SqlSmoObject.) |
![]() |
CheckVersionBelow90 | (Hérité de SqlSmoObject.) |
![]() |
CleanObject | Cleans the referenced object. (Hérité de ScriptNameObjectBase.) |
![]() |
Create | Creates a message type on the instance of Microsoft SQL Server as defined by the MessageType object. |
![]() |
CreateImpl | (Hérité de SqlSmoObject.) |
![]() |
CreateImplFinish | (Hérité de SqlSmoObject.) |
![]() |
CreateImplInit | (Hérité de SqlSmoObject.) |
![]() |
Deny(ObjectPermissionSet, String) | Denies access to the specified permission for the specified grantee on the Message type. |
![]() |
Deny(ObjectPermissionSet, array<String> [] () [] []) | Denies access to the specified permission for the specified grantees on the Message type. |
![]() |
Deny(ObjectPermissionSet, String, Boolean) | Denies access to the specified permission for the specified grantee and other users that the grantee granted access to on the Message type. |
![]() |
Deny(ObjectPermissionSet, array<String> [] () [] [], Boolean) | Denies access to the specified permission for the specified grantees on the Message type. |
![]() |
Discover | (Hérité de SqlSmoObject.) |
![]() |
Drop | Removes the Message type. |
![]() |
DropImpl | (Hérité de SqlSmoObject.) |
![]() |
DropImplWorker | (Hérité de SqlSmoObject.) |
![]() |
EnumObjectPermissions() () () () | Enumerates a list of object permissions for the Message type. |
![]() |
EnumObjectPermissions(String) | Enumerates a list of object permissions for a specified grantee on the Message type. |
![]() |
EnumObjectPermissions(ObjectPermissionSet) | Enumerates a list of object permissions for a specified permission on the Message type. |
![]() |
EnumObjectPermissions(String, ObjectPermissionSet) | Enumerates a list of object permissions for a specified grantee and a specified permission on the Message type. |
![]() |
EnumScriptImpl | (Hérité de SqlSmoObject.) |
![]() |
EnumScriptImplWorker | (Hérité de SqlSmoObject.) |
![]() |
Equals | (Hérité de Object.) |
![]() |
Finalize | (Hérité de Object.) |
![]() |
ForceTextModeOnTextBody | Enforces text mode on the text body. (Hérité de ScriptNameObjectBase.) |
![]() |
FormatSqlVariant | (Hérité de SqlSmoObject.) |
![]() |
GenerateDataSpaceFileStreamScript | (Hérité de SqlSmoObject.) |
![]() |
GenerateDataSpaceScript | (Hérité de SqlSmoObject.) |
![]() |
GetBindDefaultScript | (Hérité de SqlSmoObject.) |
![]() |
GetBindRuleScript | (Hérité de SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Hérité de SqlSmoObject.) |
![]() |
GetBoolParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Hérité de SqlSmoObject.) |
![]() |
GetBraketNameForText | (Hérité de ScriptNameObjectBase.) |
![]() |
GetDateTimeParameter | (Hérité de SqlSmoObject.) |
![]() |
GetDateTimeParameterAsInt | (Hérité de SqlSmoObject.) |
![]() |
GetDBName | Returns the name of the database on which the instance of Service Broker is implemented. (Hérité de BrokerObjectBase.) |
![]() |
GetEnumParameter | (Hérité de SqlSmoObject.) |
![]() |
GetFragOptionString | (Hérité de SqlSmoObject.) |
![]() |
GetGuidParameter | (Hérité de SqlSmoObject.) |
![]() |
GetHashCode | (Hérité de Object.) |
![]() |
GetIsTextDirty | Determines whether the text value is consistent with stored value. (Hérité de ScriptNameObjectBase.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Hérité de SqlSmoObject.) |
![]() |
GetParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Hérité de SqlSmoObject.) |
![]() |
GetPropValue | (Hérité de SqlSmoObject.) |
![]() |
GetPropValueOptional | (Hérité de SqlSmoObject.) |
![]() |
GetPropValueOptionalAllowNull | (Hérité de SqlSmoObject.) |
![]() |
GetRealValue | (Hérité de SqlSmoObject.) |
![]() |
GetScriptIncludeExists | (Hérité de ScriptNameObjectBase.) |
![]() |
GetScriptingOptionsForCreate | (Hérité de SqlSmoObject.) |
![]() |
GetServerName | Gets the name of the instance of SQL Server with which the object is associated. (Hérité de SqlSmoObject.) |
![]() |
GetServerObject | (Hérité de SqlSmoObject.) |
![]() |
GetSqlServerVersionName | Gets the version name of the instance of SQL Server with which the object is associated. (Hérité de SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%) | (Hérité de SqlSmoObject.) |
![]() |
GetStringParameter(StringBuilder, ScriptingOptions, String, String, Int32%, Boolean) | (Hérité de SqlSmoObject.) |
![]() |
GetTextBody() () () () | Returns the text body. (Hérité de ScriptNameObjectBase.) |
![]() |
GetTextBody(Boolean) | Returns the text body. (Hérité de ScriptNameObjectBase.) |
![]() |
GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] []) | Gets the text for scripting. (Hérité de ScriptNameObjectBase.) |
![]() |
GetTextForScript(ScriptingOptions, Boolean, array<String> [] () [] [], Boolean) | (Hérité de ScriptNameObjectBase.) |
![]() |
GetTextHeader | Returns the text header. (Hérité de ScriptNameObjectBase.) |
![]() |
GetTextMode | Determines whether the script name is using text mode. (Hérité de ScriptNameObjectBase.) |
![]() |
GetTextProperty(String) | (Hérité de ScriptNameObjectBase.) |
![]() |
GetTextProperty(String, ScriptingOptions) | (Hérité de ScriptNameObjectBase.) |
![]() |
GetTimeSpanParameterAsInt | (Hérité de SqlSmoObject.) |
![]() |
GetType | (Hérité de Object.) |
![]() |
GetUrnRecursive(StringBuilder) | (Hérité de SqlSmoObject.) |
![]() |
GetUrnRecursive(StringBuilder, UrnIdOption) | (Hérité de SqlSmoObject.) |
![]() |
Grant(ObjectPermissionSet, String) | Grants access to the specified permission for the specified grantee on the Message type. |
![]() |
Grant(ObjectPermissionSet, array<String> [] () [] []) | Grants access to the specified permission for the specified grantees on the Message type. |
![]() |
Grant(ObjectPermissionSet, String, Boolean) | Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the Message type. |
![]() |
Grant(ObjectPermissionSet, array<String> [] () [] [], Boolean) | Grants access to the specified permission and the ability to grant access to other users for the specified grantees on the Message type. |
![]() |
Grant(ObjectPermissionSet, String, Boolean, String) | Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the Message type. |
![]() |
Grant(ObjectPermissionSet, array<String> [] () [] [], Boolean, String) | Grants access to the specified permission and the ability to grant access to other users for the specified grantee on the Message type under an assumed role. |
![]() |
ImplInitialize | (Hérité de SqlSmoObject.) |
![]() |
Initialize() () () () | Initializes the object and forces the properties be loaded. (Hérité de SqlSmoObject.) |
![]() |
Initialize(Boolean) | Initializes the object and forces the properties be loaded. (Hérité de SqlSmoObject.) |
![]() |
IsObjectDirty | Determines whether the referenced object is consistent with the stored object. (Hérité de ScriptNameObjectBase.) |
![]() |
IsObjectInitialized | Verifies whether the object has been initialized. (Hérité de SqlSmoObject.) |
![]() |
IsObjectInSpace | Verifies whether the object is isolated or connected to the instance of SQL Server. (Hérité de SqlSmoObject.) |
![]() |
IsVersion80SP3 | (Hérité de SqlSmoObject.) |
![]() |
MarkDropped | (Hérité de SqlSmoObject.) |
![]() |
MarkForDropImpl | (Hérité de SqlSmoObject.) |
![]() |
MemberwiseClone | (Hérité de Object.) |
![]() |
PostAlter | (Hérité de SqlSmoObject.) |
![]() |
PostCreate | (Hérité de SqlSmoObject.) |
![]() |
PostDrop | (Hérité de SqlSmoObject.) |
![]() |
Refresh | Refreshes the script name. (Hérité de ScriptNameObjectBase.) |
![]() |
RenameImpl | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Hérité de NamedSmoObject.) |
![]() |
RenameImplWorker | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Hérité de NamedSmoObject.) |
![]() |
Revoke(ObjectPermissionSet, String) | Revokes previously granted permissions from a grantee on the Message type. |
![]() |
Revoke(ObjectPermissionSet, array<String> [] () [] []) | Revokes previously granted permissions from a list of grantees on the Message type. |
![]() |
Revoke(ObjectPermissionSet, String, Boolean, Boolean) | Revokes previously granted permissions from a grantee on the Message type and any other users to whom the grantee has granted access. The grantee is also given the ability to revoke other users' access. |
![]() |
Revoke(ObjectPermissionSet, array<String> [] () [] [], Boolean, Boolean) | Revokes previously granted permissions from a grantee on the Message type and any other users to whom the grantees have granted access. The grantees are also given the ability to revoke other users' access. |
![]() |
Revoke(ObjectPermissionSet, String, Boolean, Boolean, String) | Revokes previously granted permissions from a grantee on the Message type and any other users to whom the grantee has granted access. The grantee is also given the ability to revoke other users' access under an assumed role. |
![]() |
Revoke(ObjectPermissionSet, array<String> [] () [] [], Boolean, Boolean, String) | Revokes previously granted permissions from a grantee on the Message type and any other users to whom the grantees have granted access. The grantees are also given the ability to revoke other users' access under an assumed role. |
![]() |
Script() () () () | Generates a Transact-SQL script that can be used to re-create the Service Broker object. (Hérité de BrokerObjectBase.) |
![]() |
Script(ScriptingOptions) | Generates a Transact-SQL script that can be used to re-create the SQL Server Agent alert as specified by the scripting options. (Hérité de BrokerObjectBase.) |
![]() |
ScriptAlter | (Hérité de SqlSmoObject.) |
![]() |
ScriptAnsiQI | (Hérité de ScriptNameObjectBase.) |
![]() |
ScriptChangeOwner | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Hérité de NamedSmoObject.) |
![]() |
ScriptCreate | (Hérité de SqlSmoObject.) |
![]() |
ScriptDdl | (Hérité de SqlSmoObject.) |
![]() |
ScriptDrop | (Hérité de SqlSmoObject.) |
![]() |
ScriptImpl() () () () | (Hérité de SqlSmoObject.) |
![]() |
ScriptImpl(ScriptingOptions) | (Hérité de SqlSmoObject.) |
![]() |
ScriptImplWorker | (Hérité de SqlSmoObject.) |
![]() |
ScriptInformativeHeaders | (Hérité de ScriptNameObjectBase.) |
![]() |
ScriptRename | This method supports the SMO infrastructure and is not intended to be used directly from your code. (Hérité de NamedSmoObject.) |
![]() |
SetCollectionTextMode | Sets the collection text mode. (Hérité de ScriptNameObjectBase.) |
![]() |
SetParentImpl | (Hérité de SqlSmoObject.) |
![]() |
SetTextBody | Specifies the text body. (Hérité de ScriptNameObjectBase.) |
![]() |
SetTextHeader | Specifies the text header. (Hérité de ScriptNameObjectBase.) |
![]() |
SetTextMode | Specifies the text mode. (Hérité de ScriptNameObjectBase.) |
![]() |
SwitchTextMode | Switches the text mode. (Hérité de ScriptNameObjectBase.) |
![]() |
ThrowIfTextIsDirtyForAlter | (Hérité de ScriptNameObjectBase.) |
![]() |
ToString | Returns a String that represents the referenced object. (Hérité de SqlSmoObject.) |
![]() |
TouchImpl | (Hérité de SqlSmoObject.) |
![]() |
UnbindDefaultImpl | (Hérité de SqlSmoObject.) |
![]() |
UnbindRuleImpl | (Hérité de SqlSmoObject.) |
![]() |
Validate | (Hérité de SmoObjectBase.) |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
![]() |
Events | Gets the events associated with the message type. |
![]() |
ExecuteForScalar | Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option. (Hérité de SqlSmoObject.) |
![]() |
ExtendedProperties | Gets the extended properties of the MessageType object. |
![]() |
ID | Gets the ID value that uniquely identifies the message type. |
![]() |
IsSystemObject | |
![]() |
IsTouched | Gets the Boolean property value that specifies whether the object properties have been updated but not yet persisted on the server. (Hérité de SqlSmoObject.) |
![]() |
MessageTypeValidation | Gets or sets the type of validation performed on message body. |
![]() |
Name | Gets or sets the name of the object. (Hérité de NamedSmoObject.) |
![]() |
ObjectInSpace | Gets the Boolean property value that specifies whether the object exists in isolation, or whether it is directly or indirectly connected to the instance of SQL Server. (Hérité de SqlSmoObject.) |
![]() |
Owner | Gets or sets the owner of the message type. |
![]() |
Parent | Gets or sets the ServiceBroker object that is the parent of the MessageType object. |
![]() |
Properties | Gets a collection of Property objects that represent the object properties. (Hérité de SqlSmoObject.) |
![]() |
ScalarResult | Gets the scalar result for the referenced object. (Hérité de SqlSmoObject.) |
![]() |
State | Gets the state of the referenced object. (Hérité de SmoObjectBase.) |
![]() |
Urn | Gets the Uniform Resource Name (URN) address value that uniquely identifies the object. (Hérité de SqlSmoObject.) |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (Hérité de SmoObjectBase.) |
![]() |
ValidationXmlSchemaCollection | |
![]() |
ValidationXmlSchemaCollectionSchema |
Haut de la page
Événements
Nom | Description | |
---|---|---|
![]() |
PropertyChanged | (Hérité de SqlSmoObject.) |
![]() |
PropertyMetadataChanged | (Hérité de SqlSmoObject.) |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
![]() ![]() |
IAlienObjectDiscover | (Hérité de SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetParent | (Hérité de SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetProperty | (Hérité de SqlSmoObject.) |
![]() ![]() |
ISfcPropertyProviderGetPropertySet | (Hérité de SqlSmoObject.) |
![]() ![]() |
IAlienObjectGetUrn | (Hérité de SqlSmoObject.) |
![]() ![]() |
IAlienObjectResolve | (Hérité de SqlSmoObject.) |
![]() ![]() |
IAlienObjectSetProperty | (Hérité de SqlSmoObject.) |
Haut de la page