Attach physical file to the item. Calling the method means that the physical will be streamed to the server
when apply() is called on the item.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 11.0.0.6296
Syntax
C# |
---|
[ObsoleteAttribute("Obsolete since 11.0. Do not use in core.", false)]
public void attachPhysicalFile(
string filePath,
string vaultServerId
) |
Visual Basic (Declaration) |
---|
<ObsoleteAttribute("Obsolete since 11.0. Do not use in core.", False)> _
Public Sub attachPhysicalFile ( _
filePath As String, _
vaultServerId As String _
) |
J# |
---|
/** @attribute ObsoleteAttribute("Obsolete since 11.0. Do not use in core.", false) */
public void attachPhysicalFile(
String filePath,
String vaultServerId
) |
JScript |
---|
public function attachPhysicalFile(
filePath : String,
vaultServerId : String
) |
Parameters
- filePath
- Type: System..::.String
Path to the physical file.
- vaultServerId
- Type: System..::.String
Vault server id.
Remarks
Exceptions
Exception | Condition |
---|
System..::.Exception |
-
The instance doesn't represent a single item.
-
Item is not of type 'File'.
-
Item doesn't have ID set.
-
Vault server ID is not set.
|
System..::.ArgumentException | Specified file was not found. |
See Also