Click or drag to resize

PdfStorageAdapter Constructor (PdfStorageProvider)

Initializes a new instance of the PdfStorageAdapter class when given a string that contains the MS SQL Server connection string.

Namespace:  RadPdf.Integration
Assembly:  RadPdf (in RadPdf.dll) Version: 4.4.0.0 (4.4.0.0)
Syntax
public PdfStorageAdapter(
	PdfStorageProvider provider
)

Parameters

provider
Type: RadPdf.Integration.PdfStorageProvider
The PdfStorageProvider used to access the storage used by RAD PDF.
Remarks
This constructor can be used independently of an ASP.NET Web application configured for use with RAD PDF.
Examples
C#
using(PdfStorageProvider provider = new SqlServerPdfStorageProvider("Server=.;Database=RadPdf;Trusted_Connection=Yes"))
{
    using(PdfStorageAdapter adapter = new PdfStorageAdapter(provider))
    {
        adapter.RemoveExpiredDocumentKeys();
    }
}
See Also
This website uses cookies to identify your session and other necessary functions. By using this website, you are agreeing to our Terms of Use and Privacy Policy (updated April 26 2021).
Learn About Cookies
Got it!