BrokerPriority.RemoteServiceName 속성

Gets or sets the remote service name associated with the BrokerPriority object.

네임스페이스:  Microsoft.SqlServer.Management.Smo.Broker
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property RemoteServiceName As String 
    Get 
    Set
‘사용 방법
Dim instance As BrokerPriority 
Dim value As String 

value = instance.RemoteServiceName

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

속성 값

유형: System.String
A String value that specifies the name of a Service Broker service to be used as a criterion for determining if the conversation priority applies to a conversation.

주의

If ANY is specified for the remote service name, the conversation priority can be applied to any conversation, regardless of which remote service it uses. If the name of a service is specified, the conversation priority can be applied only to conversations where one of the following is true:

  • The initiator conversation endpoint is associated with a target service whose name matches RemoteServiceName.

  • The target conversation endpoint is associated with an initiator service whose name matches RemoteServiceName.

RemoteServiceName must specify a service in the current database. The RemoteServiceName default is ANY.

참고 항목

참조

BrokerPriority 클래스

Microsoft.SqlServer.Management.Smo.Broker 네임스페이스