.NET Framework Class Library
PDMSystem Members

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > PDMSystem Class >

.NET Framework Class Library
PDMSystem Members

The PDMSystem type exposes the following members.

Methods

 

Name

Description

Public method

AddSpacesLeft

Add spaces to the left side of a string for output formatting.

Public method

AddSpacesRight

Add spaces to the right side of a string for output formatting.

Public method

AddToDebugLog

Writes in the %TMP%\DBWorks...LOG the passed message string.

Public method

AddZerosLeft

Add 'zero' characters to the left of a string for output formatting.

Public method

DBWERPBomExists

In case of DBWERP, check if Bom data are available about given document.

Public method

DBWERPMaterialOrDocumentExists

In case of DBWERP, check if there are any available data about given document.

Public method

EMail

Set action/parameter for sending an email through the SendEmail.

Public method

EmitEMail

Send an e-mail to the specified address with specification of the body format, SMTP server, login and password.

Public method

Equals

(Inherited from Object.)

Public method

EventLogEvent

Returns the occurrence of a given event on a given document type.

Public method

EventLogEventByName

Returns the occurrence of a given event on a given document type.

Protected method

Finalize

(Inherited from Object.)

Public method

GetBuild

Returns the build of the currently installed MW PDM.

Public method

GetEnvironment

Returns value of given Environment key ("DBWorksConnectionDSN", "DBWorksConnectionUID", "DBWorksConnectionPWD",...).

Public method

GetGlobalParametersPath

Returns the Global Parameters Path according to registry settings.

Public method

GetHashCode

(Inherited from Object.)

Public method

GetInstallationPath

Returns the Installation Path according to registry settings.

Public method

GetLang

Returns the language of the current installation.

Public method

GetProductName

Returns the customer PDM Service Product Name.

Public method

GetSessionId

Returns the value of current User Session Id.

Public method

GetTokenFromFile

Returns the value of corresponding fieldName in the specified document file (fileName).

Public method

GetType

(Inherited from Object.)

Public method

GetValueFromMemory

Returns the value of a key previously stored in memory using SetValueInMemory.

Public method

Initialize


Protected method

MemberwiseClone

(Inherited from Object.)

Public method

RequiredBuild

Check if the installed build string representation equals the parameter.

Public method

ScriptingEngineVersionInstalled

Check if the installed Scripting Engine Version is more recent of the passed one.

Public method

SendEMail

Sends an e-mail using the definition contained in the assigned text file.

Public method

SetValueInMemory

Store in memory given key and value.

Public method

StrToDbl

Converts in double the numeric string passed as argument.

Public method

ToString

(Inherited from Object.)

Public method

Wait

Make the system waiting for a specified number of milliseconds.

See Also

PDMSystem Class

MwPDMApi Namespace