Propriedade do RDL MessageTypeMapping.Name
Gets or sets the name of the message type mapping.
Essa API não é compatível com CLS. A alternativa compatível com CLS é .
Namespace: Microsoft.SqlServer.Management.Smo.Broker
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
<SfcKeyAttribute()> _
<SfcReferenceAttribute(GetType(MessageType), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/MessageType[@Name='{2}']", _
)> _
<CLSCompliantAttribute(False)> _
Public Overrides Property Name As String
Get
Set
'Uso
Dim instance As MessageTypeMapping
Dim value As String
value = instance.Name
instance.Name = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
[SfcKeyAttribute()]
[SfcReferenceAttribute(typeof(MessageType), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/MessageType[@Name='{2}']",
)]
[CLSCompliantAttribute(false)]
public override string Name { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
[SfcKeyAttribute()]
[SfcReferenceAttribute(typeof(MessageType), L"Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/MessageType[@Name='{2}']",
)]
[CLSCompliantAttribute(false)]
public:
virtual property String^ Name {
String^ get () override;
void set (String^ value) override;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
[<SfcKeyAttribute()>]
[<SfcReferenceAttribute(typeof(MessageType), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/MessageType[@Name='{2}']",
)>]
[<CLSCompliantAttribute(false)>]
abstract Name : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
[<SfcKeyAttribute()>]
[<SfcReferenceAttribute(typeof(MessageType), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/MessageType[@Name='{2}']",
)>]
[<CLSCompliantAttribute(false)>]
override Name : string with get, set
override function get Name () : String
override function set Name (value : String)
Valor da propriedade
Tipo: System.String
A String value that specifies the name of the message type mapping.