BlueCielo Meridian Connection API 2012 Reference Guide | BlueCielo ECM Solutions
You are here: Namespaces > ICMeridianAPI > Connection > CreateReference(String, String, String, String)
CreateReference Method (vaultidentifier, sourcedocid, destdocid, reftypename)
Creates a document reference between two documents inside the vault according to a defined reference type. The destination document cannot be a new (unreleased) document unless the source document is new.
Declaration Syntax
C#Visual BasicVisual C++
public void CreateReference(
	string vaultidentifier,
	string sourcedocid,
	string destdocid,
	string reftypename
)
Public Sub CreateReference ( _
	vaultidentifier As String, _
	sourcedocid As String, _
	destdocid As String, _
	reftypename As String _
)
public:
void CreateReference(
	String^ vaultidentifier, 
	String^ sourcedocid, 
	String^ destdocid, 
	String^ reftypename
)
Parameters
vaultidentifier (String)
The vault.
sourcedocid (String)
The unique identifier of the document inside the vault that is the source of the reference.
destdocid (String)
The unique identifier of the document inside the vault that is the destination of the reference.
reftypename (String)
The internal name of the document reference type that is used to define the relationship.
Remarks
The reference is created only if it doesn't exist yet

Assembly: ICMeridianAPI (Module: ICMeridianAPI) Version: 1.0.1.4 (1.0.1.4)