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)
구문
‘선언
<CLSCompliantAttribute(False)> _
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
<SfcKeyAttribute()> _
<SfcReferenceAttribute(GetType(MessageType), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/MessageType[@Name='{2}']", _
)> _
Public Overrides Property Name As String
Get
Set
‘사용 방법
Dim instance As MessageTypeMapping
Dim value As String
value = instance.Name
instance.Name = value
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
[SfcKeyAttribute()]
[SfcReferenceAttribute(typeof(MessageType), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/MessageType[@Name='{2}']",
)]
public override string Name { get; set; }
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
[SfcKeyAttribute()]
[SfcReferenceAttribute(typeof(MessageType), L"Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/MessageType[@Name='{2}']",
)]
public:
virtual property String^ Name {
String^ get () override;
void set (String^ value) override;
}
[<CLSCompliantAttribute(false)>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
[<SfcKeyAttribute()>]
[<SfcReferenceAttribute(typeof(MessageType), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/MessageType[@Name='{2}']",
)>]
abstract Name : string with get, set
[<CLSCompliantAttribute(false)>]
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
[<SfcKeyAttribute()>]
[<SfcReferenceAttribute(typeof(MessageType), "Server[@Name = '{0}']/Database[@Name = '{1}']/ServiceBroker/MessageType[@Name='{2}']",
)>]
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.