ImageGear .NET v25.0 - Updated
SqlCommand Property




ImageGear.Web.Services Assembly > ImageGear.Web.DataProviders Namespace > MarkupSqlImageDataProvider Class : SqlCommand Property
The SQL query or stored procedure used to retrieve documents from the database
Syntax
'Declaration
 
Public ReadOnly Property SqlCommand As String
'Usage
 
Dim instance As MarkupSqlImageDataProvider
Dim value As String
 
value = instance.SqlCommand
public string SqlCommand {get;}
public: __property string* get_SqlCommand();
public:
property String^ SqlCommand {
   String^ get();
}
Remarks
Required if both UseImageTable and SqlImageDataFieldBlob are true (default).
Example
"SELECT ImageData FROM dbo.Documents WHERE DocumentID = @imageKey;"
See Also

Reference

MarkupSqlImageDataProvider Class
MarkupSqlImageDataProvider Members