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