다음을 통해 공유


SqlNotificationRequest.Options 속성

정의

알림 메시지가 게시되는 SQL Server Service Broker 서비스 이름을 가져오거나 설정합니다.

public:
 property System::String ^ Options { System::String ^ get(); void set(System::String ^ value); };
public string Options { get; set; }
member this.Options : string with get, set
Public Property Options As String

속성 값

string 알림 메시지가 게시되는 SQL Server 2005 Service Broker 서비스 이름과 서버 이름 조회 범위를 지정하는 데이터베이스 또는 서비스 브로커 인스턴스 GUID를 포함하는 입니다.

예외

값은 NULL입니다.

값이 .보다 uint16.MaxValue깁니다.

설명

속성 값의 Options 형식은 다음과 같습니다.

service=<service-name>{;(local database=<database>|broker instance=<broker instance>)}

예를 들어 데이터베이스 "AdventureWorks"에서 서비스 "myservice"를 사용하는 경우 형식은 다음과 같습니다.

service=myservice;local database=AdventureWorks

SQL Server Service Broker 서비스는 이전에 서버에서 구성해야 합니다. 또한 Service Broker 서비스 및 큐를 정의하고 필요에 따라 보안 액세스 권한을 부여해야 합니다. 자세한 내용은 SQL Server 2005 설명서를 참조하세요.

적용 대상

추가 정보