Свойство MessageTypeMapping.Name
Gets or sets the name of the message type mapping.
Этот API-интерфейс несовместим с CLS. В качестве CLS-совместимой альтернативы можно использовать .
Пространство имен: Microsoft.SqlServer.Management.Smo.Broker
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<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
'Применение
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)
Значение свойства
Тип: System.String
A String value that specifies the name of the message type mapping.