FileAttachmentsBusinessObject.GetAttachmentIdByLinkedObjectI

Retrieves the attachment id (pk) for an attachment linked to
a certain object id.

public virtual Guid GetAttachmentIdByLinkedObjectId( Guid linkedObjectId );

Return Value

Attachment ID (or Guid.Empty if not found)

Parameters

linkedObjectId
Linked object id


Remarks

If more than one attachment is linked to an object, only the first attachment ID will be returned.

See also:

Class FileAttachmentsBusinessObject


  Last Updated: 5/23/2007 | © , 2007