ImageGear .NET v25.2 - Updated
ImageGear.Web.Services Assembly / ImageGear.Web.DataProviders Namespace / MarkupSqlImageDataProvider Class / SqlCommand Property




In This Topic
    SqlCommand Property
    In This Topic
    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