Click or drag to resize

OutputSharePointDevice Class

OutputSharePointDevice is an implementation of device that saves the report result to a SharePoint Online document library using the Microsoft Graph API.
Inheritance Hierarchy
SystemObject
  Seal.ModelRootEditor
    Seal.ModelRootComponent
      Seal.ModelOutputDevice
        Seal.ModelOutputSharePointDevice

Namespace: Seal.Model
Assembly: SealLibrary (in SealLibrary.dll) Version: 10.0.0.0+c1250b26c169a4ba4d702dc7579506e87ba2cd3a
Syntax
C#
public class OutputSharePointDevice : OutputDevice

The OutputSharePointDevice type exposes the following members.

Constructors
 NameDescription
Public methodOutputSharePointDeviceInitializes a new instance of the OutputSharePointDevice class
Top
Properties
 NameDescription
Public propertyAuthenticationType Authentication used to get the Microsoft Graph access token
Public propertyCertificatePassword The certificate file password (encrypted)
Public propertyCertificatePath Path of the certificate file used for the Certificate authentication
Public propertyCertificateThumbprint Thumbprint of the certificate in the Windows certificate store
Public propertyClearCertificatePassword The clear password of the certificate file
Public propertyClearClientSecret The clear client secret of the application registration
Public propertyClientId The application (client) identifier of the Entra ID application registration
Public propertyClientSecret The client secret (encrypted)
Public propertyConflictBehavior Behavior when a file with the same name already exists in the destination folder
Public propertyDirectories List of folders allowed in the document library. One per line or separated by semi-column.
Public propertyDirectoriesArray Array of allowed directories.
Public propertyError Last error message
Public propertyFullName Full name
(Overrides OutputDeviceFullName)
Public propertyGraphUrl URL of the Microsoft Graph endpoint
Public propertyGraphUrlNormalized Microsoft Graph URL without trailing separator
Public propertyGUID The unique identifier
(Inherited from RootComponent)
Public propertyHelperTestConnection Editor Helper: Test the connection with the current configuration
Public propertyInformation Last information message
Public propertyLibraryName Name of the document library of the site
Public propertyLoginUrl URL of the Microsoft login endpoint
Public propertyName The name
(Inherited from RootComponent)
Public propertyProcessingScript Script executed when the output is processed
Public propertySiteUrl URL of the SharePoint site
Public propertyTenantId The Microsoft Entra ID (Azure AD) tenant identifier (GUID or domain name)
Top
Methods
 NameDescription
Public methodStatic memberCreate Create a basic OutputSharePointDevice
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodEscapePath Escapes a document library path for its use in a Microsoft Graph URL (each segment is escaped, separators are kept)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAccessToken Returns a Microsoft Graph access token using the device authentication configuration (client secret or certificate)
Public methodGetDriveId Resolves the drive identifier of the document library. The HttpClient must have a valid Bearer token.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetProcessingScriptTemplate
(Overrides OutputDeviceGetProcessingScriptTemplate)
Public methodGetSiteId Resolves the Microsoft Graph site identifier from the Site URL. The HttpClient must have a valid Bearer token.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHandleZipOptions Handle the Output ZIP Options: Create a zip file if necessary
(Inherited from OutputDevice)
Public methodInit Init the editor objects
(Inherited from RootEditor)
Public methodInitDefaultValues Init the default values
(Inherited from RootEditor)
Public methodInitEditor Init the editor objects and the default values
(Inherited from RootEditor)
Public methodLoadCertificate Loads the certificate for the Certificate authentication, either from the certificate file or from the Windows certificate store
Public methodStatic memberLoadFromFile Load an OutputSharePointDevice from a file
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodProcess Process the report result for the output
(Overrides OutputDeviceProcess(Report))
Public methodSaveToFile Save to current file
(Overrides OutputDeviceSaveToFile)
Public methodSaveToFile(String) Save to a file
(Overrides OutputDeviceSaveToFile(String))
Public methodSetReadOnly Set all properties to readonly
(Inherited from RootEditor)
Public methodTestConnection Helper to test the connection
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateEditor Update editor attributes
(Inherited from RootEditor)
Protected methodUpdateEditorAttributes Refresh properties attrivutes
(Inherited from RootEditor)
Public methodValidate Validate the device
(Overrides OutputDeviceValidate)
Top
Fields
 NameDescription
Protected field_dctd
(Inherited from RootEditor)
Protected field_GUID
(Inherited from RootComponent)
Protected field_name
(Inherited from RootComponent)
Public fieldFilePath Current file path
(Inherited from OutputDevice)
Public fieldLastModification Last modification date time
Public fieldStatic memberProcessingScriptTemplate Default processing script template
Public fieldStatic memberSecretKeyName 
Public fieldStatic memberSecretKeyValue 
Top
See Also