.NET Framework Class Library
RemoteAccess.TransferOwnership Method
|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > .NET API > MwPDMApi Namespace > RemoteAccess Class > RemoteAccess Methods > .NET Framework Class Library |
With the Remote Access Mode enabled, transfers the ownership of a record from a company to another one.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Sub TransferOwnership ( _ docUid As String, _ |
C# |
|---|
public void TransferOwnership( string docUid, |
Visual C++ |
|---|
public: void TransferOwnership( |
JavaScript |
|---|
function transferOwnership(docUid, newCompanyID, processRelatedDocuments); |
Parameters
docUid
Type: System.String
unique id of the document to change the ownership of
newCompanyID
Type: System.String
new COMPANY_ID to be set for the selected record
processRelatedDocuments (Optional)
Type: System.Boolean
Optional. TRUE transfer ownership of related documents too, FALSE do not process any related document.
Remarks
See Also