 | ConnectionGetDocumentLocation Method |
Returns a full path in UNC format or the relative path within the vault that can be used by any Windows
application to read from or write to a document.
The document needs to be in the Under Change state for it to be writable.
Namespace:
ICMeridianAPI
Assembly:
ICMeridianAPI (in ICMeridianAPI.dll) Version: 4.0.9.0 (4.0.9.0)
Syntaxpublic string GetDocumentLocation(
string vaultidentifier,
string docid,
bool relativepath = false
)
Public Function GetDocumentLocation (
vaultidentifier As String,
docid As String,
Optional relativepath As Boolean = false
) As String
Parameters
- vaultidentifier
- Type: SystemString
The vault in which the document resides. - docid
- Type: SystemString
The unique identifier of the document inside the vault. - relativepath (Optional)
- Type: SystemBoolean
Optional Boolean. True to return a relative path, False to return an absolute path.
Return Value
Type:
StringPath to the document
Remarks
For this method to work with a full path, AMFS needs to be running.
See Also