Udostępnij przez


Właściwość ServiceContractExtender.Name

Pobiera lub ustawia nazwę Service Broker kontrakt związane z ServiceContractExtender obiektu.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo.Broker
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
<ExtendedPropertyAttribute> _
Public Property Name As String
    Get
    Set
'Użycie
Dim instance As ServiceContractExtender
Dim value As String

value = instance.Name

instance.Name = value
[ExtendedPropertyAttribute]
public string Name { get; set; }
[ExtendedPropertyAttribute]
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
[<ExtendedPropertyAttribute>]
member Name : string with get, set
function get Name () : String
function set Name (value : String)

Wartość właściwości

Typ: System.String
A String wartość, która określa nazwę kontrakt Service Broker skojarzonych z ServiceContractExtender obiektu.