Class AttachmentManagerClass

Namespace
ESRI.ArcGIS.Geodatabase
Assembly
ESRI.Server.Geodatabase.dll
[Guid("431A70D7-5F78-4574-82E4-C2CE96356D79")]
[ClassInterface(ClassInterfaceType.None)]
public class AttachmentManagerClass : AttachmentManager, IAttachmentManager
Inheritance
AttachmentManagerClass
Implements
Inherited Members

Explicit Interface Implementations

AddAttachment(long, IAttachment)

Adds an attachment to the object identified by the oid.

virtual long AddAttachment(long parentObjectID, IAttachment Attachment)

Parameters

parentObjectID long
Attachment IAttachment

Returns

long

AddAttachmentByGlobalID(string, IAttachment)

Adds an attachment to the object identified by the oid.

virtual long AddAttachmentByGlobalID(string ParentGlobalID, IAttachment Attachment)

Parameters

ParentGlobalID string
Attachment IAttachment

Returns

long

DeleteAttachment(long)

Deletes the attachment identified with attID.

virtual void DeleteAttachment(long AttachmentID)

Parameters

AttachmentID long

DeleteAttachmentByGlobalID(string)

Deletes the attachment identified with attID.

virtual void DeleteAttachmentByGlobalID(string GlobalID)

Parameters

GlobalID string

DeleteAttachmentForParent(long, long)

Deletes the attachment.

virtual void DeleteAttachmentForParent(long parentObjectID, long AttachmentID)

Parameters

parentObjectID long
AttachmentID long

DeleteAttachmentsForParent(long)

Deletes all attachments for the object with oid.

virtual void DeleteAttachmentsForParent(long parentObjectID)

Parameters

parentObjectID long

DeleteAttachmentsForParentByGlobalID(string)

Deletes all attachments for the object with oid.

virtual void DeleteAttachmentsForParentByGlobalID(string ParentGlobalID)

Parameters

ParentGlobalID string

GetAttachmentsByAttachmentGlobalIDs(IStringArray, bool)

Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.

virtual IEnumAttachment GetAttachmentsByAttachmentGlobalIDs(IStringArray attachmentGlobalIDs, bool infosOnly)

Parameters

attachmentGlobalIDs IStringArray
infosOnly bool

Returns

IEnumAttachment

GetAttachmentsByAttachmentIDs(ILongLongArray, bool)

Returns the attachments for the attachments with the attachment ids specified in the attIDs argument.

virtual IEnumAttachment GetAttachmentsByAttachmentIDs(ILongLongArray attachmentIDs, bool infosOnly)

Parameters

attachmentIDs ILongLongArray
infosOnly bool

Returns

IEnumAttachment

GetAttachmentsByParentGlobalIDs(IStringArray, bool)

Returns the attachments for the objects with the object ids specified in the oids argument.

virtual IEnumAttachment GetAttachmentsByParentGlobalIDs(IStringArray parentGlobalIDs, bool infosOnly)

Parameters

parentGlobalIDs IStringArray
infosOnly bool

Returns

IEnumAttachment

GetAttachmentsByParentIDs(ILongLongArray, bool)

Returns the attachments for the objects with the object ids specified in the oids argument.

virtual IEnumAttachment GetAttachmentsByParentIDs(ILongLongArray oids, bool infosOnly)

Parameters

oids ILongLongArray
infosOnly bool

Returns

IEnumAttachment

HasGlobalID

Indicates if the attachments have a global object identity field.

virtual bool HasGlobalID { get; }

Returns

bool

UpdateAttachment(IAttachment)

Updates the attachment.

virtual void UpdateAttachment(IAttachment Attachment)

Parameters

Attachment IAttachment