MailMergeDataSource.QueryString Property
Returns or sets the query string (SQL statement) used to retrieve a subset of the data in a mail merge data source.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim mailMergeDataSource1 As MailMergeDataSource
Dim returnValue As String
returnValue = mailMergeDataSource1.QueryString
Dim sampleValue As String
mailMergeDataSource1.QueryString = sampleValue
Syntax
Property QueryString() As String
string QueryString {get; set;}
property String^ QueryString{
String^ get();
Void set(String^);
}
public System.String get_QueryString();
public void set_QueryString(System.String);
function get QueryString() : String;
function set QueryString(String);
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
MailMergeDataSource Interface
Microsoft.Office.Interop.Word Namespace