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: 3.48.0.0 (3.48.0.0)
Syntax Remarks
This constructor can be used independently of an ASP.NET Web application configured for use with RAD PDF.
Examples using(PdfStorageProvider provider = new SqlServerPdfStorageProvider("Server=.;Database=RadPdf;Trusted_Connection=Yes"))
{
using(PdfStorageAdapter adapter = new PdfStorageAdapter(provider))
{
adapter.RemoveExpiredDocumentKeys();
}
}
See Also