Delen via


SendStatement.MessageTypeName Property

Gets or sets the optional message type of the sent message. Can be either Identifier, VariableReference, or Literal.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property MessageTypeName As IdentifierOrValueExpression 
    Get 
    Set
'Usage
Dim instance As SendStatement 
Dim value As IdentifierOrValueExpression 

value = instance.MessageTypeName

instance.MessageTypeName = value
public IdentifierOrValueExpression MessageTypeName { get; set; }
public:
property IdentifierOrValueExpression^ MessageTypeName {
    IdentifierOrValueExpression^ get ();
    void set (IdentifierOrValueExpression^ value);
}
member MessageTypeName : IdentifierOrValueExpression with get, set
function get MessageTypeName () : IdentifierOrValueExpression 
function set MessageTypeName (value : IdentifierOrValueExpression)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.IdentifierOrValueExpression
The optional message type of the sent message.

See Also

Reference

SendStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace