MessageQueueTask.StringMessageToVariableName Property
Gets or sets the name of the variable to which the message contents are saved.
네임스페이스: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
어셈블리: Microsoft.SqlServer.MSMQTask (in microsoft.sqlserver.msmqtask.dll)
구문
‘선언
Public Property StringMessageToVariableName As String
public string StringMessageToVariableName { get; set; }
public:
virtual property String^ StringMessageToVariableName {
String^ get () sealed;
void set (String^ value) sealed;
}
/** @property */
public final String get_StringMessageToVariableName ()
/** @property */
public final void set_StringMessageToVariableName (String value)
public final function get StringMessageToVariableName () : String
public final function set StringMessageToVariableName (value : String)
속성 값
A String that contains the variable to store the message in.
주의
This method is used only when the MSMQ task is receiving mail. The contents of the message are stored in a variable.
예
The following code example adds a variable to the package, and specifies that the variable be used for storing the message contents.
myPackage.Variables.Add("ReceiveMessageVariable", false, "", "empty");
myMSMQTask.StringMessageToVariableName = "ReceiveMessageVariable";
스레드 보안
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
MessageQueueTask Class
MessageQueueTask Members
Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace