Share via


ServiceContractExtender.Name Property

Gets or sets the name of the Service Broker contract associated with the ServiceContractExtender object.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<ExtendedPropertyAttribute> _
Public Property Name As String 
    Get 
    Set
'Usage
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)

Property Value

Type: System.String
A String value that specifies the name of the Service Broker contract associated with the ServiceContractExtender object.

See Also

Reference

ServiceContractExtender Class

Microsoft.SqlServer.Management.Smo.Broker Namespace