WorkSiteImportDocumentToWorkSite Method (String, String, String, String, String)Mocom WorkSite Library API
Add a document to the connected user's default database.

Namespace: Mocom_WorkSite_Library
Assembly: Mocom WorkSite Library (in Mocom WorkSite Library.dll) Version: 1.0.8.0 (1.0.8)
Syntax

public WorkSiteDocument ImportDocumentToWorkSite(
	string fileName,
	string author,
	string documentOperator,
	string documentClass,
	string description
)

Parameters

fileName
Type: SystemString
The path to the file to be imported.
author
Type: SystemString
The name of the WorkSite user who is the author of the document.
documentOperator
Type: SystemString
The name of the WorkSite user who is the operator of the document.
documentClass
Type: SystemString
The WorkSite class for the document.
description
Type: SystemString
A description of the document.

Return Value

Type: WorkSiteDocument
A WorkSiteDocument object that contains the details of the imported file. Including ID and version number.
See Also

Reference