/// <summary> /// GetAttachmentInfo /// </summary> /// <remarks> /// Get AttachmentInfo structure describing the attachment views /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='attachmentId'> /// attachment id /// </param> public static AttachmentInfo GetAttachmentInfo(this IAttachments operations, string attachmentId) { return(operations.GetAttachmentInfoAsync(attachmentId).GetAwaiter().GetResult()); }